# Security: Machine Learning jobs stop

**URL:** <https://discuss.elastic.co/t/security-machine-learning-jobs-stop/335851>\
**Category:** Elastic Security\
**Created:** [June 13, 2023, 9:46am UTC](https://discuss.elastic.co/t/security-machine-learning-jobs-stop/335851 "2023-06-13T09:46:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hermlam](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@hermlam](https://discuss.elastic.co/u/hermlam)\
**Post date:** [June 13, 2023, 9:46am UTC](https://discuss.elastic.co/t/security-machine-learning-jobs-stop/335851/1 "2023-06-13T09:46:25Z")

</div>

Hi,  
Some ML jobs, provided with the standard rules stop after a while. For example: " ```  
Machine learning job(s) are not started: job id: "rare\_destination\_country", job name: "Network Traffic to Rare Destination Country", job status: "closed", datafeed status: "stopped"

```auto
Resetting and restarting the job doesn't solve the issue.
Thanks,
Herman
```

---

<div class="post-metadata">

**Author:** ![wsouza](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wsouza/32/92547_2.png) [@wsouza](https://discuss.elastic.co/u/wsouza)\
**Post date:** [June 15, 2023, 1:15pm UTC](https://discuss.elastic.co/t/security-machine-learning-jobs-stop/335851/2 "2023-06-15T13:15:14Z")

</div>

Hi @hermlam !

When accessing the detection rule, which you mentioned, did you start jobs before activating the rule? Here are some pictures of how to do this.

If the rule is already active, deactivate the rule, start the job, refresh the page and then activate the detection rule.

 ![print1](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fce7e7fde9a99e44df8dee58ffe03f9095c2839d.png)  
 ![print2](https://us1.discourse-cdn.com/elastic/original/3X/9/3/93f01b8aec510976b9e6f595ffc78b1e906b8cb0.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 13, 2023, 1:15pm UTC](https://discuss.elastic.co/t/security-machine-learning-jobs-stop/335851/3 "2023-07-13T13:15:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
