-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Logging to the file #2942
Comments
It's a setting I've never seen, but is it the setting written in the document? |
I found out configuration in the file |
Is this helpful? |
Unfortunately no, because indentation is correct. |
Does anyone have a working solution for putting logging into operation? |
All I need was how to run the logging for elastalert but thank you @nsano-rururu for detailed tutorial how to set praeco. |
We also recommend asking questions on the Gitter channel |
Simple setup your elastalert with |
I have the same problem. Why is the logging configuration set but no logging is generated. |
I was able to output the file.
|
It worked when I put handlers and loggers in the same position as formatters. Reference URL |
I confirmed that a pull request has been issued |
@nsano-rururu Thank you. It worked |
Thank you. It works! |
Hello,
can anyone help me with setting logging to file /var/log/elastalert/elastalert.log?
I have this configuration but it doesn't work:
/opt/elastalert/config.yaml
run_every:
seconds: 30
buffer_time:
minutes: 5
rules_folder: rules
use_ssl: true
es_host: ********
es_port: 9200
es_username: elastalert
es_password: **********
es_send_get_body_as: GET
writeback_index: elastalert_audit
The text was updated successfully, but these errors were encountered: