Class: Aws::OpenSearchService::Types::LogPublishingOption

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-opensearchservice/types.rb

Overview

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 markdown=“1”> After you enable log publishing, you still have to enable the collection of slow logs using the OpenSearch REST API.

</note>

[1]: docs.aws.amazon.com/opensearch-service/latest/developerguide/createdomain-configure-slow-logs.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_watch_logs_log_group_arnString

The Amazon Resource Name (ARN) of the CloudWatch Logs group to publish logs to.

Returns:

  • (String)


5340
5341
5342
5343
5344
5345
# File 'lib/aws-sdk-opensearchservice/types.rb', line 5340

class LogPublishingOption < Struct.new(
  :cloud_watch_logs_log_group_arn,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Whether the log should be published.

Returns:

  • (Boolean)


5340
5341
5342
5343
5344
5345
# File 'lib/aws-sdk-opensearchservice/types.rb', line 5340

class LogPublishingOption < Struct.new(
  :cloud_watch_logs_log_group_arn,
  :enabled)
  SENSITIVE = []
  include Aws::Structure
end