CopyValue - Amazon CloudWatch Logs

CopyValue

This processor copies values within a log event. You can also use this processor to add metadata to log events by copying the values of the following metadata keys into the log events: @logGroupName, @logGroupStream, @accountId, @regionName.

For more information about this processor including examples, see copyValue in the CloudWatch Logs User Guide.

Contents

entries

An array of CopyValueEntry objects, where each object contains the information about one field value to copy.

Type: Array of CopyValueEntry objects

Array Members: Minimum number of 1 item. Maximum number of 5 items.

Required: Yes

See Also

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