AWS::Logs::Transformer 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.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Entries" :
[ CopyValueEntry, ... ]
}
YAML
Entries:
- CopyValueEntry
Properties
Entries
-
An array of
CopyValueEntry
objects, where each object contains the information about one field value to copy.Required: Yes
Type: Array of CopyValueEntry
Minimum:
1
Maximum:
5
Update requires: No interruption