AddKeyEntry - Amazon CloudWatch Logs
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

AddKeyEntry

This object defines one key that will be added with the addKeys processor.

Contents

key

The key of the new entry to be added to the log event

Type: String

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

Required: Yes

value

The value of the new entry to be added to the log event

Type: String

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

Required: Yes

overwriteIfExists

Specifies whether to overwrite the value if the key already exists in the log event. If you omit this, the default is false.

Type: Boolean

Required: No

See Also

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