AddKeyEntry - Amazon CloudWatch Logs
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: