LogPublishingOption
Specifies whether the Amazon OpenSearch Service domain publishes the OpenSearch application and slow logs to Amazon CloudWatch. For more information, see Monitoring OpenSearch logs with Amazon CloudWatch Logs.
Note
After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.
Contents
- CloudWatchLogsLogGroupArn
-
The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
.*
Required: No
- Enabled
-
Whether the log should be published.
Type: Boolean
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: