Reducing the logging when running elastalert in a container #173
Replies: 1 comment 1 reply
-
In your config file change all the Personally, as far as changing the 6 log lines to debug, I prefer to see that activity throughout the day. So I would not want to see everything changed to |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I was wondering if anyone else has any opinions on reducing the number of logs that are generated by elastalert.
So, I was running elastalert in a container, and I have made it to query the elasticsearch cluster every 1 minute and I only have 1 rule right now which isnt getting any hits and thats expected, but elastalert keeps on logging every minute atleast 6 log lines:
Does anyone have any opinions on this, should all these be in some other logging level, lets say
debug
? And only the log lines of any error or success in post should be logged? And then through some config file this logging level can be modified?I believe this can be used to change logging level in elastalert: Yelp/elastalert#2942 (comment) but this outputs the logs to a file? What If I dont want to output into a file, just change the logging level.
Beta Was this translation helpful? Give feedback.
All reactions