Skip to main content

spanquery_rows_spans

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

Overview

Namespanquery_rows_spans
TypeResource
Idsumologic.tracing.spanquery_rows_spans

Fields

The following fields are returned by SELECT queries:

Details about the given span query.

NameDatatypeDescription
nextstringNext continuation token. (example: Mi93V0ZqTTBzaW89)
spanPagearrayList of trace spans.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getSpanQueryResultselectqueryId, rowId, regionlimit, tokenGet a list of spans matching a query with the specified id. The response is paginated with a default limit of 100 spans per page.

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)
rowIdstringIdentifier of the query row.
limitinteger (int32)Limit of the number of spans returned in the response.
tokenstringContinuation token to get the next page of results. A page object with the next continuation token is returned in the response body. Subsequent GET requests should specify the continuation token to get the next page of results. token is set to null when no more pages are left.

SELECT examples

Get a list of spans matching a query with the specified id. The response is paginated with a default limit of 100 spans per page.

SELECT
next,
spanPage
FROM sumologic.tracing.spanquery_rows_spans
WHERE queryId = '{{ queryId }}' -- required
AND rowId = '{{ rowId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;