# Filter Machine learning job

**URL:** <https://discuss.elastic.co/t/filter-machine-learning-job/232765>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 15, 2020, 6:45am UTC](https://discuss.elastic.co/t/filter-machine-learning-job/232765 "2020-05-15T06:45:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [May 15, 2020, 6:45am UTC](https://discuss.elastic.co/t/filter-machine-learning-job/232765/1 "2020-05-15T06:45:01Z")

</div>

Hi, at the beggining of a job creation, one has to select an index, I have an index with metrics of various groups of machines, like the index "CPU" will have cpu metrics of multiples groups, I was wandering if I could filter the index, so I can work with just one group, and a group only can see a job with their metrics

something like: filter by hostrgroup : "groupone"

```auto
             |__job for groupone
index-cpu -->|__job for grouptwo
             |__job for groupthree

```

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [May 15, 2020, 1:24pm UTC](https://discuss.elastic.co/t/filter-machine-learning-job/232765/2 "2020-05-15T13:24:55Z")

</div>

In the ML UI at the first step of job creation one has to either a) choose an index or b) choose the name of a _Saved Search_

The [Saved Search](https://www.elastic.co/guide/en/kibana/current/save-open-search.html) is and easy way that you can filter the data in any way you would like and have that be the basis of your ML job.

---

<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:** [June 12, 2020, 1:24pm UTC](https://discuss.elastic.co/t/filter-machine-learning-job/232765/3 "2020-06-12T13:24:58Z")

</div>

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