Skip to main content

tracequery_status

Creates, updates, deletes, gets or lists a tracequery_status resource.

Overview

Nametracequery_status
TypeResource
Idsumologic.tracing.tracequery_status

Fields

The following fields are returned by SELECT queries:

Status of the given trace search query.

NameDatatypeDescription
queryRowsarrayA list of trace queries.
statusstringStatus 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:

NameAccessible byRequired ParamsOptional ParamsDescription
getTraceQueryStatusselectqueryId, regionGet 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.

NameDatatypeDescription
queryIdstringIdentifier of the executed query.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)

SELECT examples

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
;