Class LogPublishingOption

java.lang.Object
software.amazon.awssdk.services.opensearch.model.LogPublishingOption
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<LogPublishingOption.Builder,LogPublishingOption>

@Generated("software.amazon.awssdk:codegen") public final class LogPublishingOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogPublishingOption.Builder,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.

After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.

See Also: