Skip to main content

spanquery_aggregates

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

Overview

Namespanquery_aggregates
TypeResource
Idsumologic.tracing.spanquery_aggregates

Fields

The following fields are returned by SELECT queries:

The aggregation result of the executed query.

NameDatatypeDescription
resultobject

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;