elastalert
elastalert copied to clipboard
Time filter is not working.
Hi. I am trying to run a rule in ElastAlert, the rule works fine without the filter and I get alerts. But I want to alert only to last 10 minutes of data. I have written the following filter part in the rule. When I run the rule there is no error but no hits occur and thus no alerts are raised. Can anyone help, please? Thanks in advance. filter:
- range: systime: gte: "now-10m" lt: "now"
What version of elasticsearch are you running? What is the output in the logs?
Hey!! I found out the mistake. It was on my part. SysTime was in Camelcase. Sorry. Closing the issue. Thanks.