Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use rule timeframe when scan_entire_timeframe is set #3141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

findmyname666
Copy link

#3041 There is rule option scan_entire_timeframe which indicate that elastalert should scan entire timeframe set in rule. Unfortunately it scans the timeframe only in the first run. Currently it is almost impossible to ensure that rule timeframe is scan. This brings issues where errors could be overlooked. For example the elastalert query data only for last minute when run_every is set to 1 minute but the logs are not ingested in such fast manner. This change only affects rules with option use_count_query or use_term_query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant