Rule activation not respecting limit_execution #1344
-
Hi, I have a rule to detect the absent of an especific term in the logs within 1 hour. However, I want this rule not to be executed during weekends and at dawn. So I configured the rule as follows (other fields ommited for brevity):
But I received dozens of this alert since 3AM (UTC-3:00):
My timezone is UTC-3:00 and I'm also setting the extra config Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, In general it's recommended that all servers be set to UTC time. This applies to servers running ElastAlert 2 and Elasticsearch. Is your server (OS) correctly configured to use UTC time? The |
Beta Was this translation helpful? Give feedback.
Hello,
In general it's recommended that all servers be set to UTC time. This applies to servers running ElastAlert 2 and Elasticsearch. Is your server (OS) correctly configured to use UTC time?
The
query_timezone
parameter only affects the time range passed to Elasticsearch query requests. It exists for dealing with Elasticsearch data that was (typically from a mistake) ingested using a timestamp field that was not UTC. It has no effect onlimit_execution
.