Skip to content

Commit

Permalink
Merge pull request #5474 from sgrodzicki/es-application-logs
Browse files Browse the repository at this point in the history
Add "ES_APPLICATION_LOGS" log_type for aws_elasticsearch_domain
  • Loading branch information
bflad authored Aug 8, 2018
2 parents d1cc40a + 35ea9e4 commit 77c375f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions aws/resource_aws_elasticsearch_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ func resourceAwsElasticSearchDomain() *schema.Resource {
ValidateFunc: validation.StringInSlice([]string{
elasticsearch.LogTypeIndexSlowLogs,
elasticsearch.LogTypeSearchSlowLogs,
elasticsearch.LogTypeEsApplicationLogs,
}, false),
},
"cloudwatch_log_group_arn": {
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/elasticsearch_domain.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Security Groups and Subnets referenced in these attributes must all be within th

**log_publishing_options** supports the following attribute:

* `log_type` - (Required) A type of Elasticsearch log. Valid values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS
* `log_type` - (Required) A type of Elasticsearch log. Valid values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS, ES_APPLICATION_LOGS
* `cloudwatch_log_group_arn` - (Required) ARN of the Cloudwatch log group to which log needs to be published.
* `enabled` - (Optional, Default: true) Specifies whether given log publishing option is enabled or not.

Expand Down

0 comments on commit 77c375f

Please sign in to comment.