FieldIndex - Amazon CloudWatch Logs

FieldIndex

This structure describes one log event field that is used as an index in at least one index policy in this account.

Contents

fieldIndexName

The string that this field index matches.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [\.\-_/#A-Za-z0-9]+

Required: No

firstEventTime

The time and date of the earliest log event that matches this field index, after the index policy that contains it was created.

Type: Long

Valid Range: Minimum value of 0.

Required: No

lastEventTime

The time and date of the most recent log event that matches this field index.

Type: Long

Valid Range: Minimum value of 0.

Required: No

lastScanTime

The most recent time that CloudWatch Logs scanned ingested log events to search for this field index to improve the speed of future CloudWatch Logs Insights queries that search for this field index.

Type: Long

Valid Range: Minimum value of 0.

Required: No

logGroupIdentifier

If this field index appears in an index policy that applies only to a single log group, the ARN of that log group is displayed here.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: [\w#+=/:,.@-]*

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: