spanquery_status
Creates, updates, deletes, gets or lists a spanquery_status
resource.
Overview
Name | spanquery_status |
Type | Resource |
Id | sumologic.tracing.spanquery_status |
Fields
The following fields are returned by SELECT
queries:
- getSpanQueryStatus
Details about the given span query.
Name | Datatype | Description |
---|---|---|
queryRows | array | A list of span analytics queries. |
status | string | Status 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getSpanQueryStatus | select | queryId , region | 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. |
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
- getSpanQueryStatus
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
;