Skip to main content

field_indexes

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

Overview

Namefield_indexes
TypeResource
Idaws.logs.field_indexes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
field_indexesarrayAn array containing the field index information.
next_tokenstringThe token for the next set of items to return. The token expires after 24 hours.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_field_indexesselectregionReturns a list of field indexes discovered in log data. By default, the response includes the DEFAULT, CUSTOM, and INACTIVE index categories. To return indexes from other categories, use the indexCategories parameter. For more information about field index policies, see PutIndexPolicy.

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
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of field indexes discovered in log data. By default, the response includes the DEFAULT, CUSTOM, and INACTIVE index categories. To return indexes from other categories, use the indexCategories parameter. For more information about field index policies, see PutIndexPolicy.

SELECT
field_indexes,
next_token
FROM aws.logs.field_indexes
WHERE region = '{{ region }}' -- required
;