Skip to main content

spanquery_status

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

Overview

Namespanquery_status
TypeResource
Idsumologic.tracing.spanquery_status

Fields

The following fields are returned by SELECT queries:

Details about the given span query.

NameDatatypeDescription
queryRowsarrayA list of span analytics queries.
statusstringStatus of the query. Possible values: Processing, Finished, Error, Paused (pattern: ^(Processing|Finished|Error|Paused)$, example: Processing, x-pattern-message: Should be either Processing, Finished, Error, Paused.)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getSpanQueryStatusselectqueryId, regionGet a status of a span analytics query with the given id. When the query has been completed, use the [Span 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 span analytics query with the given id. When the query has been completed, use the [Span Query Result] endpoint to get the result of the asynchronous query.

SELECT
queryRows,
status
FROM sumologic.tracing.spanquery_status
WHERE queryId = '{{ queryId }}' -- required
AND region = '{{ region }}' -- required
;