Your alert is searching for a 15 minute window but running every 5 minutes, so at 8:20 it will search 8:05 to 8:20 and at 8:25 it will search 8:10 to 8:25 and so on, so you will get duplicate alerts....
See more...
Your alert is searching for a 15 minute window but running every 5 minutes, so at 8:20 it will search 8:05 to 8:20 and at 8:25 it will search 8:10 to 8:25 and so on, so you will get duplicate alerts. If your event time is 8:20 but it is not getting indexed until 9:16, then you will not see that alert as when the search runs at 8:25 the data is not present and when the search runs at 9:20, the event time is 8:20, so not in the search window. If your events are arriving late, that needs to be checked with the how those events are being forwarded. You can look at event lag by adding | eval index_time=strftime(_indextime, "%F %T.%Q") before your table statement and then adding index_time field to your table statement, so you can see when that events was indexed. If you KNOW you have lag and there is nothing you can do about it, then you may need to adjust the time window of the search to something like earliest=-60m@m
latest=--55m@m so that you are searching a 5 minute window 1 hour ago. The search window should generally match the frequency of the cron schedule.