Rules not triggered until timepart of --start and/or --end is changed #1378
-
I'm still struggling to get a smooth experience running EA on historical data (I know it's not meant for that but...). The process which seems to almost work for our use case is
The command I use for interactively invoke EA is:
This seems to work, however, when I've re-indexed the data, the run operation does not trigger any alarms until I manually tweak one of the time parts in --start or --end. If I do that and invoke the command the rule(s) get triggered and alarms are sent. Why is this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ElastAlert 2 records the previous run time for a rule so that the next run doesn't re-query the same records. So if your newly re-indexed data is occupying the same time frames as a previous rule run then that would explain it. You stated that you are tweaking the start/end times but without specific examples and their corresponding logs this is the best explanation I can give you. |
Beta Was this translation helpful? Give feedback.
ElastAlert 2 records the previous run time for a rule so that the next run doesn't re-query the same records. So if your newly re-indexed data is occupying the same time frames as a previous rule run then that would explain it. You stated that you are tweaking the start/end times but without specific examples and their corresponding logs this is the best explanation I can give you.