tracequery_fields_values
Creates, updates, deletes, gets or lists a tracequery_fields_values
resource.
Overview
Name | tracequery_fields_values |
Type | Resource |
Id | sumologic.tracing.tracequery_fields_values |
Fields
The following fields are returned by SELECT
queries:
- getTraceQueryFieldValues
List of available filter values for the given field.
Name | Datatype | Description |
---|---|---|
fieldValues | array | List of filter field values. |
next | string | Next continuation token. (example: Mi93V0ZqTTBzaW89) |
totalCount | integer (int64) | Total number of values for a field matching the query. Can be approximated when it's above 3000. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
getTraceQueryFieldValues | select | field , region | query , limit , token | Get a list of available values for the given trace search query filter field. Not all fields support value listing. The response is paginated with a default limit of 10 values 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 |
---|---|---|
field | string | Field identifier. |
region | string | SumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2) |
limit | integer (int32) | The maximum number of results to fetch. |
query | string | Search filter to apply on the values to be returned. Only values containing the search query term will be returned. |
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
- getTraceQueryFieldValues
Get a list of available values for the given trace search query filter field. Not all fields support value listing. The response is paginated with a default limit of 10 values per page.
SELECT
fieldValues,
next,
totalCount
FROM sumologic.tracing.tracequery_fields_values
WHERE field = '{{ field }}' -- required
AND region = '{{ region }}' -- required
AND query = '{{ query }}'
AND limit = '{{ limit }}'
AND token = '{{ token }}'
;