tracequery_status
Creates, updates, deletes, gets or lists a tracequery_status
resource.
Overview
Name | tracequery_status |
Type | Resource |
Id | sumologic.tracing.tracequery_status |
Fields
The following fields are returned by SELECT
queries:
- getTraceQueryStatus
Status of the given trace search query.
Name | Datatype | Description |
---|---|---|
queryRows | array | A list of trace queries. |
status | string | Status of the query. Possible values: Processing , Finished , Error , Canceled . (pattern: ^(Processing|Finished|Error|Canceled)$ , example: Processing, x-pattern-message: Should be either Processing , Finished , Error , Canceled .) |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getTraceQueryStatus | select | queryId , region | Get a status of a trace query with the given id. When the query has been completed, use the [Trace Query Result] endpoint to get the result of the asynchronous query. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
queryId | string | Identifier of the executed query. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
SELECT
examples
- getTraceQueryStatus
Get a status of a trace query with the given id. When the query has been completed, use the [Trace Query Result] endpoint to get the result of the asynchronous query.
SELECT
queryRows,
status
FROM sumologic.tracing.tracequery_status
WHERE queryId = '{{ queryId }}' -- required
AND region = '{{ region }}' -- required
;