Skip to main content

tracequery_fields_values

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

Overview

Nametracequery_fields_values
TypeResource
Idsumologic.tracing.tracequery_fields_values

Fields

The following fields are returned by SELECT queries:

List of available filter values for the given field.

NameDatatypeDescription
fieldValuesarrayList of filter field values.
nextstringNext continuation token. (example: Mi93V0ZqTTBzaW89)
totalCountinteger (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:

NameAccessible byRequired ParamsOptional ParamsDescription
getTraceQueryFieldValuesselectfield, regionquery, limit, tokenGet 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.

NameDatatypeDescription
fieldstringField identifier.
regionstringSumoLogic region (enum: [us2, au, ca, de, eu, fed, in, jp], default: us2)
limitinteger (int32)The maximum number of results to fetch.
querystringSearch filter to apply on the values to be returned. Only values containing the search query term will be returned.
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 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 }}'
;