-
-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add the defaults for slowlogs in logging.yml #398
Comments
Once you enable slowlogs without this, the logs will be shipped to the main log file instead to a particular log file, we should add the appender and the following configuration:
|
@karmi This is the issue that i mentioned before. Thanks for taking a look! |
@martinb3 IMO we can keep the option to add defaults settings, but the same settings that we ship in the Thanks! 😄 |
@gmoskovicz at one point @karmi and I even talked about removing it from things we control, so people using Chef can just drop in their own file anyway. Do you think that's more useful than trying to expose every possible option in chef? |
Thats an option too. However if we ship the |
👍 I totally agree. I did the same for init scripts, but I didn't think to check the logging.yml :/ |
@martinb3 thanks for your prompt response! Looking forward for this change! |
The default configuration in the main packages contains the default configuration for the slowlogs:
While the slowlogs are configured, they are not enabled by default. The chef recipe should also configure this by default, and then the user should be able to (per index) configure the level and the threadhold.
https://github.com/elastic/cookbook-elasticsearch/blob/master/templates/default/logging.yml.erb
The text was updated successfully, but these errors were encountered: