Interface LoggingOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LoggingOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:44.595Z")
@Stability(Stable)
public interface LoggingOptions
extends software.amazon.jsii.JsiiSerializable
Configures log settings for the domain.
Example:
Domain prodDomain = Domain.Builder.create(this, "Domain")
.version(EngineVersion.OPENSEARCH_1_0)
.capacity(CapacityConfig.builder()
.masterNodes(5)
.dataNodes(20)
.build())
.ebs(EbsOptions.builder()
.volumeSize(20)
.build())
.zoneAwareness(ZoneAwarenessConfig.builder()
.availabilityZoneCount(3)
.build())
.logging(LoggingOptions.builder()
.slowSearchLogEnabled(true)
.appLogEnabled(true)
.slowIndexLogEnabled(true)
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forLoggingOptionsstatic final classAn implementation forLoggingOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic LoggingOptions.Builderbuilder()default BooleanSpecify if Amazon OpenSearch Service application logging should be set up.default ILogGroupLog Amazon OpenSearch Service application logs to this log group.default BooleanSpecify if Amazon OpenSearch Service audit logging should be set up.default ILogGroupLog Amazon OpenSearch Service audit logs to this log group.default BooleanSpecify if slow index logging should be set up.default ILogGroupLog slow indices to this log group.default BooleanSpecify if slow search logging should be set up.default ILogGroupLog slow searches to this log group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppLogEnabled
Specify if Amazon OpenSearch Service application logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later.
Default: - false
-
getAppLogGroup
Log Amazon OpenSearch Service application logs to this log group.Default: - a new log group is created if app logging is enabled
-
getAuditLogEnabled
Specify if Amazon OpenSearch Service audit logging should be set up.Requires Elasticsearch version 6.7 or later or OpenSearch version 1.0 or later and fine grained access control to be enabled.
Default: - false
-
getAuditLogGroup
Log Amazon OpenSearch Service audit logs to this log group.Default: - a new log group is created if audit logging is enabled
-
getSlowIndexLogEnabled
Specify if slow index logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later.
Default: - false
-
getSlowIndexLogGroup
Log slow indices to this log group.Default: - a new log group is created if slow index logging is enabled
-
getSlowSearchLogEnabled
Specify if slow search logging should be set up.Requires Elasticsearch version 5.1 or later or OpenSearch version 1.0 or later.
Default: - false
-
getSlowSearchLogGroup
Log slow searches to this log group.Default: - a new log group is created if slow search logging is enabled
-
builder
- Returns:
- a
LoggingOptions.BuilderofLoggingOptions
-