Comments (5)
Hi @spicoflorin As mentioned in #7, If you need all three logs enabled the module must be modified to include more than just one log_publishing_options
block.
from terraform-aws-elasticsearch.
Thank you for your response. Is still not clear for how to achieve this (I'm a newbie in terraform subject).
In my terragrunt.hcl I have added all three log_publishing_options for each of the log type (as I mentioned in my first post), and the behavior was the one that I've mentioned.
Can you please point me where do I have add these changes, and how they should look like?
A sample code will be very helpful.
from terraform-aws-elasticsearch.
@spicoflorin currently is not possible to define more than one log option.
Here https://github.com/lgallard/terraform-aws-elasticsearch/blob/master/main.tf#L107 is where the block is defined.
And the code is hardcoded to use just one map into a list here https://github.com/lgallard/terraform-aws-elasticsearch/blob/master/main.tf#L243.
Therefore log_publishing_options
variable must be changed from:
log_publishing_options = {
enabled = "true"
log_type = "INDEX_SLOW_LOGS"
}
To something like:
log_publishing_options = {
INDEX_SLOW_LOGS = true
}
This way it will be easier to have a multiple publishing options for logs:
log_publishing_options = {
INDEX_SLOW_LOGS = true
ES_APPLICATION_LOGS = true
SEARCH_SLOW_LOGS = true
}
But the module logic must be changed. I can include these changes as soon as I have time or if it's urgent you can create a PR.
from terraform-aws-elasticsearch.
Hello!
Thank you very much for your answers. It is not urgent. I think it will be very helpful for the community to include these features in a future release.
Best regards, Florin
from terraform-aws-elasticsearch.
Is this feature already implemented? If so, what's the proper way to publish different logs to different log group?
from terraform-aws-elasticsearch.
Related Issues (20)
- elasticsearch with cognito
- Elasticsearch with Cognito HOT 1
- Enable Ultrawarm storage option of ElasticsearchClusterConfig HOT 4
- Configuration drift for a warm node in module 0.6.0 HOT 3
- New Feature: variable create. HOT 8
- Bug: The cluster deleted and recreated after every apply HOT 5
- Add support for custom domain names on the es endpoint HOT 4
- Wrong master_user_name var when enabling advanced_security_options_internal_user_database_enabled HOT 2
- Add saml authentication support. HOT 1
- Issue with VPC config on 0.9.0 HOT 3
- zone_awareness_config block within cluster_config is not working HOT 3
- cannot enable multiple log types HOT 5
- Module fails if we create cloudwatch log group in same stack where we call the module HOT 1
- Could you please add support of a cold storage tier for AWS OpenSearch Service ? HOT 10
- Getting clodstorage block error HOT 2
- Support for auto_tune_options HOT 2
- Support required gp3 throughput parameter
- Error: error creating IAM Service Linked Role
- Domain is getting recreated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-elasticsearch.