LoggingOptions Struct
Configures log settings for the domain.
Example
ts
const prodDomain = new es.Domain(this, 'Domain', {
version: es.ElasticsearchVersion.V7_1,
capacity: {
masterNodes: 5,
dataNodes: 20,
},
ebs: {
volumeSize: 20,
},
zoneAwareness: {
availabilityZoneCount: 3,
},
logging: {
slowSearchLogEnabled: true,
appLogEnabled: true,
slowIndexLogEnabled: true,
},
});
Properties
appLogEnabledbooleanapp_log_enabledboolappLogEnabledBooleanAppLogEnabledboolAppLogEnabled*bool= falsedeprecated#use opensearchservice module instead
Requires Elasticsearch version 5.1 or later.
appLogGroupILogGroupRefapp_log_groupILogGroupRefappLogGroupILogGroupRefAppLogGroupILogGroupRefAppLogGroupILogGroupRefdeprecated#use opensearchservice module instead
Default: a new log group is created if app logging is enabled
auditLogEnabledbooleanaudit_log_enabledboolauditLogEnabledBooleanAuditLogEnabledboolAuditLogEnabled*bool= falsedeprecated#use opensearchservice module instead
Requires Elasticsearch version 6.7 or later and fine grained access control to be enabled.
auditLogGroupILogGroupRefaudit_log_groupILogGroupRefauditLogGroupILogGroupRefAuditLogGroupILogGroupRefAuditLogGroupILogGroupRefdeprecated#use opensearchservice module instead
Default: a new log group is created if audit logging is enabled
slowIndexLogEnabledbooleanslow_index_log_enabledboolslowIndexLogEnabledBooleanSlowIndexLogEnabledboolSlowIndexLogEnabled*bool= falsedeprecated#use opensearchservice module instead
Requires Elasticsearch version 5.1 or later.
slowIndexLogGroupILogGroupRefslow_index_log_groupILogGroupRefslowIndexLogGroupILogGroupRefSlowIndexLogGroupILogGroupRefSlowIndexLogGroupILogGroupRefdeprecated#use opensearchservice module instead
Default: a new log group is created if slow index logging is enabled
slowSearchLogEnabledbooleanslow_search_log_enabledboolslowSearchLogEnabledBooleanSlowSearchLogEnabledboolSlowSearchLogEnabled*bool= falsedeprecated#use opensearchservice module instead
Requires Elasticsearch version 5.1 or later.
slowSearchLogGroupILogGroupRefslow_search_log_groupILogGroupRefslowSearchLogGroupILogGroupRefSlowSearchLogGroupILogGroupRefSlowSearchLogGroupILogGroupRefdeprecated#use opensearchservice module instead
Default: a new log group is created if slow search logging is enabled