QueryDefinitionState

QueryDefinitionState
QueryDefinitionState

Query definition state associated with this widget

JSON Example
{
    "documentDescription": {
        "serviceCapabilities": [
            "string"
        ],
        "userInterfaceResourcePath": "string",
        "name": "string",
        "description": "string",
        "versionRetentionLimit": 0,
        "versionRetentionFloor": 0,
        "serializedStateSizeLimit": 0,
        "documentIndexingOptions": [
            "string"
        ]
    },
    "documentVersion": 0,
    "documentEpoch": 0,
    "documentKind": "string",
    "documentSelfLink": "string",
    "documentUpdateTimeMicros": 0,
    "documentUpdateAction": "string",
    "documentExpirationTimeMicros": 0,
    "documentOwner": "string",
    "documentSourceLink": "string",
    "documentAuthPrincipalLink": "string",
    "documentTransactionId": "string",
    "name": "string",
    "source": "string",
    "sourceName": "string",
    "contentPackId": "string",
    "description": "string",
    "url": "string",
    "constraints": {
        "constraints": {
            "operator": "AND",
            "fieldName": null,
            "value": null,
            "constraints": [
                {
                    "operator": "EXISTS",
                    "fieldName": "text",
                    "value": "error",
                    "constraints": [],
                    "tags": []
                },
                {
                    "operator": "EXISTS",
                    "fieldName": "text",
                    "value": "exception",
                    "constraints": [],
                    "tags": []
                },
                {
                    "operator": "LESS_THAN",
                    "fieldName": "build_number",
                    "value": "7408",
                    "constraints": [],
                    "tags": []
                }
            ],
            "tags": []
        }
    },
    "aggregationFunctions": [
        {
            "aggregationFunctions": [
                {
                    "fieldName": "text",
                    "functionName": "AVG"
                },
                {
                    "fieldName": "text",
                    "functionName": "MIN"
                },
                {
                    "fieldName": "build_number",
                    "functionName": "MAX"
                }
            ]
        }
    ],
    "groupByTerms": [
        {
            "groupByTerms": [
                {
                    "fieldName": "timestamp",
                    "groupByType": "FIXED_BUCKET"
                }
            ]
        }
    ],
    "relationFunctions": [
        {
            "relationFunctions": [
                {
                    "relationName": "9876ed31-fe70-4c61-8db7-917a1a2636f1",
                    "relationType": "LOGS"
                }
            ]
        }
    ],
    "isSearchable": false,
    "isAnnotation": false,
    "tenantLinks": [
        "string"
    ],
    "widget": {
        "widgetType": "string",
        "analysisFunctions": [
            {
                "name": "string"
            }
        ],
        "visualization": {
            "type": "string"
        }
    },
    "annotation": false,
    "searchable": false
}
documentDescription
Optional

documentDescription

integer As int64 As int64
documentVersion
Optional

System internal field

integer As int64 As int64
documentEpoch
Optional

System internal field

string
documentKind
Optional

System internal field

string
documentSelfLink
Optional

documentSelfLink

integer As int64 As int64
documentUpdateTimeMicros
Optional

System internal field

string
documentUpdateAction
Optional

System internal field

integer As int64 As int64
documentExpirationTimeMicros
Optional

System internal field

string
documentOwner
Optional

System internal field

string
documentSourceLink
Optional

System internal field

string
documentAuthPrincipalLink
Optional

System internal field

string
documentTransactionId
Optional

System internal field

string
name
Optional

Short name to describe the query

string
source
Optional

Source of the query document creation

string
sourceName
Optional

Name of the content pack that provided this query definition

string
contentPackId
Optional

ID of the content pack that provided this query definition

string
description
Optional

Detailed description of the query

string
url
Optional

A URL that links to additional information and other recommended approaches for fixing the issue)

constraints
Optional

constraints

aggregationFunctions
Optional

List of aggregation functions associated with the query

groupByTerms
Optional

List of 'group by' terms associated with the query

relationFunctions
Optional

List of relation functions associated with the query

boolean
isSearchable
Optional

Indicates whether the query should be displayed in search results

boolean
isAnnotation
Optional

Indicates whether the query should be used to annotate log messages

array of string
tenantLinks
Optional

Set of tenant links associated with the query. This is an internal field

widget
Optional

widget

boolean
annotation
Optional

annotation

boolean
searchable
Optional

searchable

Property Of