ParseKeyValue
¶
Source code in docs_src/capo_cloudwatch_logs/types/parse_key_value.py
destination
instance-attribute
¶
destination: NotRequired[DestinationField]
The destination field to put the extracted key-value pairs into
field_delimiter
instance-attribute
¶
field_delimiter: NotRequired[ParserFieldDelimiter]
The field delimiter string that is used between key-value pairs in the original log events. If you omit this, the ampersand & character is used.
key_prefix
instance-attribute
¶
key_prefix: NotRequired[KeyPrefix]
If you want to add a prefix to all transformed keys, specify it here.
key_value_delimiter
instance-attribute
¶
key_value_delimiter: NotRequired[KeyValueDelimiter]
The delimiter string to use between the key and value in each pair in the transformed log event.
If you omit this, the equal = character is used.
non_match_value
instance-attribute
¶
non_match_value: NotRequired[NonMatchValue]
A value to insert into the value field in the result, when a key-value pair is not successfully split.
overwrite_if_exists
instance-attribute
¶
overwrite_if_exists: OverwriteIfExists
Specifies whether to overwrite the value if the destination key already exists. If you omit this, the default is false.