# Setup a Machine Learning rule is not active

**URL:** <https://discuss.elastic.co/t/setup-a-machine-learning-rule-is-not-active/378170>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [May 15, 2025, 10:14am UTC](https://discuss.elastic.co/t/setup-a-machine-learning-rule-is-not-active/378170 "2025-05-15T10:14:31Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [May 19, 2025, 2:37pm UTC](https://discuss.elastic.co/t/setup-a-machine-learning-rule-is-not-active/378170/14 "2025-05-19T14:37:31Z")

</div>

> [@nzeland149](#):
>
> yes but even if there is no delay i will recieive notification after 15min  
> if i reduced the bucket what the negative i will get more false positive or high cpu usage or what and im sorry fot this lot of questions

This is tuning the job / result / alert ... I don't have an answer for you ... you need to test and iterate...

You can also take a look at this for tuning what is considered and alert.

> [@How to generate Rules for anomaly detection ML?](https://discuss.elastic.co/t/how-to-generate-rules-for-anomaly-detection-ml/285707):
>
> When I go to Kibana-\>Alerts and Actions I only see Alerts and Connectors and not Rules, I want to create a rule/generate alerts for anomaly detection(ML job) but I do not see Rules or anomaly detection alert, how do I enable this? thank you

I will say In General... Machine Learning + Alerts is not generally a great fit for "Race the Clock" alerting... if you are looking to be alerted within say 1-5 mins and ML job is probably not the right approach / great fit.

---

_[View the full topic](https://discuss.elastic.co/t/setup-a-machine-learning-rule-is-not-active/378170)._
