tracequery_rows_traces
Creates, updates, deletes, gets or lists a tracequery_rows_traces
resource.
Overview
Name | tracequery_rows_traces |
Type | Resource |
Id | sumologic.tracing.tracequery_rows_traces |
Fields
The following fields are returned by SELECT
queries:
- getTraceQueryResult
Details about the given span query.
Name | Datatype | Description |
---|---|---|
next | string | Next continuation token. (example: 10001) |
results | array | List of traces matching the query. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getTraceQueryResult | select | queryId , rowId , region | limit , token | Get a list of traces matching a query with the specified id. The response is paginated with a default limit of 100 traces 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.
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) |
rowId | string | Identifier of the query row. |
limit | integer (int32) | Limit of the number of traces returned in the response. |
token | string | Continuation 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
- getTraceQueryResult
Get a list of traces matching a query with the specified id. The response is paginated with a default limit of 100 traces per page.
SELECT
next,
results
FROM sumologic.tracing.tracequery_rows_traces
WHERE queryId = '{{ queryId }}' -- required
AND rowId = '{{ rowId }}' -- required
AND region = '{{ region }}' -- required
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;