SubstituteStringEntry - Amazon CloudWatch Logs

SubstituteStringEntry

This object defines one log field key that will be replaced using the substituteString processor.

Contents

from

The regular expression string to be replaced. Special regex characters such as [ and ] must be escaped using \\ when using double quotes and with \ when using single quotes. For more information, see Class Pattern on the Oracle web site.

Type: String

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

Required: Yes

source

The key to modify

Type: String

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

Required: Yes

to

The string to be substituted for each match of from

Type: String

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

Required: Yes

See Also

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