Update Query Definition By Put
DescriptionUpdates the query definition by id
Request
URLURL
Path Parameters
Path Parameters
ID of the existing query def
Request Body
{
"name": "string"
}
Query name. It should be unique
List of aggregate field and function name
Content pack id if this query belongs to any
ISO8601 date string when this query definition was created
Email of user who created this query definition
Detailed description of Query definition
Indicates document self link
List of entity tag associated with this query
Indicates whether the query should be used to annotate log messages
Is Query Favourite - used to identify if the query is favourite for a user.
Indicates whether the query should be displayed in search results
ISO8601 date string when this query definition was updated
Email of user who updated this query definition
Alert solr query - used to query logs during alert evaluation.
Query identifier. It should be unique
List of relation name and type. Allowed relation type includes: LOGS
All allowed source of query: CONTENT_PACK, USER_DEFINED
Possible values are: CONTENT_PACK , USER_DEFINED
Name of the content pack that provided this query definition
List of tenant links
An URL that links to additional information. (Vmware KB article / other recommended approach for fixing issue)
Widget configuration - used to capture configuration of the chart on the explore logs UI, and to provide defaults when a query is added to a dashboard.
Authentication
Response
Response BodyResponse Body
200 OK
{
"aggregationFunctions": [
{
"fieldName": "string",
"functionName": "COUNT"
}
],
"alertSolrQuery": "string",
"constraints": {
"constraints": [
{
"fieldName": "text",
"operator": "CONTAINS",
"value": "error"
}
],
"fieldName": "string",
"operator": "AND",
"tags": [
"string"
],
"value": "string"
},
"contentPackId": "string",
"createdAt": "string",
"createdBy": "string",
"description": "string",
"documentSelfLink": "string",
"entityTagAssociation": [
{
"tagId": "string",
"tagName": "string"
}
],
"fieldListItems": [
{
"link": "string",
"name": "string"
}
],
"groupByTerms": [
{
"fieldName": "string",
"groupByType": "EACH_VALUE"
}
],
"id": "string",
"isAnnotation": false,
"isFavorite": false,
"isSearchable": false,
"lastUpdatedAt": "string",
"lastUpdatedBy": "string",
"name": "string",
"queryId": "string",
"relationFunctions": [
{
"relationName": "string",
"relationType": "LOGS",
"shardInfo": {
"key": "string"
}
}
],
"source": "CONTENT_PACK",
"sourceName": "string",
"tenantLinks": [
"string"
],
"url": "string",
"widget": {
"analysisFunctions": [
{
"name": "INFLECTION",
"parameters": {
"key": "string"
}
}
],
"filter": {
"options": {
"key": "string"
},
"type": "DATE"
},
"name": "string",
"visualization": {
"options": {
"key": "string"
},
"type": "AREA"
},
"widgetType": "CHART"
}
}
Query name. It should be unique
List of aggregate field and function name
Content pack id if this query belongs to any
ISO8601 date string when this query definition was created
Email of user who created this query definition
Detailed description of Query definition
Indicates document self link
List of entity tag associated with this query
Indicates whether the query should be used to annotate log messages
Is Query Favourite - used to identify if the query is favourite for a user.
Indicates whether the query should be displayed in search results
ISO8601 date string when this query definition was updated
Email of user who updated this query definition
Alert solr query - used to query logs during alert evaluation.
Query identifier. It should be unique
List of relation name and type. Allowed relation type includes: LOGS
All allowed source of query: CONTENT_PACK, USER_DEFINED
Possible values are: CONTENT_PACK , USER_DEFINED
Name of the content pack that provided this query definition
List of tenant links
An URL that links to additional information. (Vmware KB article / other recommended approach for fixing issue)
Widget configuration - used to capture configuration of the chart on the explore logs UI, and to provide defaults when a query is added to a dashboard.