Skip to main content

log_fields

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

Overview

Namelog_fields
TypeResource
Idaws.logs.log_fields

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
log_fieldsarrayThe list of log fields for the specified data source, including field names and their data types.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_log_fieldsselectregionDiscovers available fields for a specific data source and type. The response includes any field modifications introduced through pipelines, such as new fields or changed field types.

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

Discovers available fields for a specific data source and type. The response includes any field modifications introduced through pipelines, such as new fields or changed field types.

SELECT
log_fields
FROM aws.logs.log_fields
WHERE region = '{{ region }}' -- required
;