Viewpoint QueryLog REST APIs | Data Objects | Teradata Viewpoint - Data Objects - Teradata Data Lab - Teradata Viewpoint

Teradata® Viewpoint and Teradata® Data Lab API Reference Guide - 24.04

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Data Lab
Teradata Viewpoint
Release Number
24.04
Published
April 2024
Language
English (United States)
Last Update
2024-04-29
dita:mapPath
qko1711972084905.ditamap
dita:ditavalPath
ft:empty
dita:id
prd1525780132746
Product Category
Analytical Ecosystem
FlaggedQuery
{
    "links": [ // HATEOAS LINKS
            {
                "rel": "self",
                "href": "http://vp-dev12/api/public/queryLog/flaggedQueries/32"
            },
            {
                "rel": "system",
                "href": "http://vp-dev12/api/public/monitoredSystems/401"
            }
    ],
    "flag_id": "38”,       //ID of the FlaggedQuery
    "system_id": 0,         // ID of the system FlaggedQuery was run on     
    "user_name": " admin “,  //Username
    "log_date": "2024-03-21T11:38:47.180Z”,  //date
    "query_id": "307181055192338051”, //ID of the FlaggedQuery in the TD system
    "sql_text": " BEGIN QUERY LOGGING WITH SQL LIMIT SQLTEXT=0 ON 
SystemFE ;", // FlaggedQuery SQL Stmt     
    "flag_time": "2024-03-21T11:38:47.180Z" // timeStamp 
 }
ReturnStatus
{
    "message": "Access Denied. Error ID: 15524dfd-6806-4f95-a0b5-e59a64cbb833"
}