spanquery_aggregates
Creates, updates, deletes, gets or lists a spanquery_aggregates
resource.
Overview
Name | spanquery_aggregates |
Type | Resource |
Id | sumologic.tracing.spanquery_aggregates |
Fields
The following fields are returned by SELECT
queries:
- getSpanQueryAggregates
The aggregation result of the executed query.
Name | Datatype | Description |
---|---|---|
result | object |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getSpanQueryAggregates | select | queryId , region | Get span aggregation results for an aggregated span analytics query with the specified id. Only aggregated rows being part of the executed query will have matching results in the response of this endpoint. |
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
- getSpanQueryAggregates
Get span aggregation results for an aggregated span analytics query with the specified id. Only aggregated rows being part of the executed query will have matching results in the response of this endpoint.
SELECT
result
FROM sumologic.tracing.spanquery_aggregates
WHERE queryId = '{{ queryId }}' -- required
AND region = '{{ region }}' -- required
;