LoggingOptions
- class aws_cdk.aws_elasticsearch.LoggingOptions(*, app_log_enabled=None, app_log_group=None, audit_log_enabled=None, audit_log_group=None, slow_index_log_enabled=None, slow_index_log_group=None, slow_search_log_enabled=None, slow_search_log_group=None)
Bases:
object
(deprecated) Configures log settings for the domain.
- Parameters:
app_log_enabled (
Optional
[bool
]) – (deprecated) Specify if Elasticsearch application logging should be set up. Requires Elasticsearch version 5.1 or later. Default: - falseapp_log_group (
Optional
[ILogGroup
]) – (deprecated) Log Elasticsearch application logs to this log group. Default: - a new log group is created if app logging is enabledaudit_log_enabled (
Optional
[bool
]) – (deprecated) Specify if Elasticsearch audit logging should be set up. Requires Elasticsearch version 6.7 or later and fine grained access control to be enabled. Default: - falseaudit_log_group (
Optional
[ILogGroup
]) – (deprecated) Log Elasticsearch audit logs to this log group. Default: - a new log group is created if audit logging is enabledslow_index_log_enabled (
Optional
[bool
]) – (deprecated) Specify if slow index logging should be set up. Requires Elasticsearch version 5.1 or later. Default: - falseslow_index_log_group (
Optional
[ILogGroup
]) – (deprecated) Log slow indices to this log group. Default: - a new log group is created if slow index logging is enabledslow_search_log_enabled (
Optional
[bool
]) – (deprecated) Specify if slow search logging should be set up. Requires Elasticsearch version 5.1 or later. Default: - falseslow_search_log_group (
Optional
[ILogGroup
]) – (deprecated) Log slow searches to this log group. Default: - a new log group is created if slow search logging is enabled
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- ExampleMetadata:
infused
Example:
prod_domain = es.Domain(self, "Domain", version=es.ElasticsearchVersion.V7_1, capacity=es.CapacityConfig( master_nodes=5, data_nodes=20 ), ebs=es.EbsOptions( volume_size=20 ), zone_awareness=es.ZoneAwarenessConfig( availability_zone_count=3 ), logging=es.LoggingOptions( slow_search_log_enabled=True, app_log_enabled=True, slow_index_log_enabled=True ) )
Attributes
- app_log_enabled
(deprecated) Specify if Elasticsearch application logging should be set up.
Requires Elasticsearch version 5.1 or later.
- Default:
false
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- app_log_group
(deprecated) Log Elasticsearch application logs to this log group.
- Default:
a new log group is created if app logging is enabled
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- audit_log_enabled
(deprecated) Specify if Elasticsearch audit logging should be set up.
Requires Elasticsearch version 6.7 or later and fine grained access control to be enabled.
- Default:
false
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- audit_log_group
(deprecated) Log Elasticsearch audit logs to this log group.
- Default:
a new log group is created if audit logging is enabled
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- slow_index_log_enabled
(deprecated) Specify if slow index logging should be set up.
Requires Elasticsearch version 5.1 or later.
- Default:
false
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- slow_index_log_group
(deprecated) Log slow indices to this log group.
- Default:
a new log group is created if slow index logging is enabled
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- slow_search_log_enabled
(deprecated) Specify if slow search logging should be set up.
Requires Elasticsearch version 5.1 or later.
- Default:
false
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated
- slow_search_log_group
(deprecated) Log slow searches to this log group.
- Default:
a new log group is created if slow search logging is enabled
- Deprecated:
use opensearchservice module instead
- Stability:
deprecated