File tree Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Expand file tree Collapse file tree 3 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.12.0 (August 26, 2021)
2
+
3
+ ENHANCEMENTS:
4
+
5
+ * Add multiple log types support
6
+
1
7
## 0.11.0 (June 8, 2021)
2
8
3
9
ENHANCEMENTS:
Original file line number Diff line number Diff line change @@ -40,8 +40,23 @@ module "aws_es" {
40
40
}
41
41
42
42
log_publishing_options = {
43
- enabled = true
44
- log_type = "INDEX_SLOW_LOGS"
43
+ index_slow_logs = {
44
+ enabled = true
45
+ cloudwatch_log_group_arn = "arn:aws:logs:us-east-1:123456789101:log-group:/aws/elasticsearch/index_slow_logs:*"
46
+ rog_publishing_options_retention = 90
47
+ }
48
+ search_slow_logs = {
49
+ enabled = true
50
+ cloudwatch_log_group_arn = "arn:aws:logs:us-east-1:123456789101:log-group:/aws/elasticsearch/search_slow_logs:*"
51
+ }
52
+ es_application_logs = {
53
+ enabled = true
54
+ cloudwatch_log_group_name = "es_application_logs_dev"
55
+ }
56
+ audit_logs = {
57
+ enabled = false
58
+ cloudwatch_log_group_name = "audit_logs_dev"
59
+ }
45
60
}
46
61
47
62
advanced_options = {
Original file line number Diff line number Diff line change @@ -27,7 +27,23 @@ module "aws_es" {
27
27
}
28
28
29
29
log_publishing_options = {
30
- enabled = "true"
30
+ index_slow_logs = {
31
+ enabled = true
32
+ cloudwatch_log_group_arn = "arn:aws:logs:us-east-1:123456789101:log-group:/aws/elasticsearch/index_slow_logs:*"
33
+ rog_publishing_options_retention = 90
34
+ }
35
+ search_slow_logs = {
36
+ enabled = true
37
+ cloudwatch_log_group_arn = "arn:aws:logs:us-east-1:123456789101:log-group:/aws/elasticsearch/search_slow_logs:*"
38
+ }
39
+ es_application_logs = {
40
+ enabled = true
41
+ cloudwatch_log_group_name = "es_application_logs_dev"
42
+ }
43
+ audit_logs = {
44
+ enabled = false
45
+ cloudwatch_log_group_name = "audit_logs_dev"
46
+ }
31
47
}
32
48
33
49
advanced_options = {
You can’t perform that action at this time.
0 commit comments