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

Run a rule during a specific time every day #2079

Open
RadioactiveSkin opened this issue Jan 16, 2019 · 2 comments
Open

Run a rule during a specific time every day #2079

RadioactiveSkin opened this issue Jan 16, 2019 · 2 comments

Comments

@RadioactiveSkin
Copy link

RadioactiveSkin commented Jan 16, 2019

I need to run a flatline rule, but I only want to alert if the it's under the threshold after 8am (from 12:00AM). Basically a feature is grabbing bits of data over time each day. And I want to alert if for some reason by 8am the feature has grabbed under a certain value that would suggest something may be wrong. I'm wondering if that's possible? Nothing in the documentation seems to show any way of accomplishing this.

@Qmando
Copy link
Member

Qmando commented Jan 16, 2019

This is possible in the beta release as limit_execution. #492 (comment)

I don't know when it will be merged and released

@Qmando
Copy link
Member

Qmando commented Jan 16, 2019

You could also run elastalert with --start and --end flags from a cron job to achieve the same affect.

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

No branches or pull requests

2 participants