# ML Job

**URL:** <https://discuss.elastic.co/t/ml-job/270906>\
**Category:** SIEM\
**Tags:** elastic-stack-machine-learning, detection-rules\
**Created:** [April 21, 2021, 9:51pm UTC](https://discuss.elastic.co/t/ml-job/270906 "2021-04-21T21:51:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cosmin\_Ciobanu1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cosmin_ciobanu1/32/78785_2.png) [@Cosmin\_Ciobanu1](https://discuss.elastic.co/u/Cosmin_Ciobanu1)\
**Post date:** [April 21, 2021, 9:51pm UTC](https://discuss.elastic.co/t/ml-job/270906/1 "2021-04-21T21:51:30Z")

</div>

Hi!  
I've created a machine learning job from scratch and, now, when I want to create a detection rules for this job, I cannot see it in that list.  
I have one node where can be opened 20 jobs, but it is the only one active.  
Any help?

Thank you!

---

<div class="post-metadata">

**Author:** ![RylandHerrick](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rylandherrick/32/67401_2.png) [@RylandHerrick](https://discuss.elastic.co/u/RylandHerrick)\
**Post date:** [April 22, 2021, 5:19pm UTC](https://discuss.elastic.co/t/ml-job/270906/2 "2021-04-22T17:19:06Z")

</div>

@Cosmin_Ciobanu1 it sounds like you may be missing the Security group/tag on your custom ML job; you can see this and other prerequisites in our [ML Rule documentation](https://www.elastic.co/guide/en/security/current/machine-learning.html#manage-jobs).

If this is not the issue, then some details about your environment will help us further diagnose:

1. Kibana version
2. ML Job configuration details

---

<div class="post-metadata">

**Author:** ![Mike\_Paquette](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mike_paquette/32/119011_2.png) [@Mike\_Paquette](https://discuss.elastic.co/u/Mike_Paquette)\
**Post date:** [April 22, 2021, 7:45pm UTC](https://discuss.elastic.co/t/ml-job/270906/3 "2021-04-22T19:45:46Z")

</div>

Hi @Cosmin_Ciobanu1, I think @RylandHerrick has the right suggestion! If you wish to add your own custom ML jobs, create and add them to the “security” group from the Machine Learning application.

When creating a new anomaly detection job, you can add the group when specifying the job details, like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5fdae9c2fb2f73e69e6227af8ed5c362ba17b197.png)

If you've already created the job, you can edit it and add the Group, like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/0/3051a89e7b3eedd70ed7f45d1602654a81887603.png)

Once you've added the security group to the job, it will appear in the list from the detections page, like this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/7/87c1ddc9b97004d2c3a937f970ab71dfe5b8d84e.png)

Hope this helps!

Please let us know how this works out for you!

---

<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:** [May 20, 2021, 7:46pm UTC](https://discuss.elastic.co/t/ml-job/270906/4 "2021-05-20T19:46:38Z")

</div>

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