# Skip Anomalous data in job

**URL:** <https://discuss.elastic.co/t/skip-anomalous-data-in-job/186213>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [June 18, 2019, 9:37am UTC](https://discuss.elastic.co/t/skip-anomalous-data-in-job/186213 "2019-06-18T09:37:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharath\_Kumar\_R](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bharath_kumar_r/32/45474_2.png) [@Bharath\_Kumar\_R](https://discuss.elastic.co/u/Bharath_Kumar_R)\
**Post date:** [June 18, 2019, 9:38am UTC](https://discuss.elastic.co/t/skip-anomalous-data-in-job/186213/1 "2019-06-18T09:38:00Z")

</div>

![13%20PM](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d7aa17e48670966d07bd77a8497cfdc6e13ed0cb.png)  
Hey, As you can see in this screenshot, the series of anomalies detected was caused due to unknown outage, which I found out today. Is there any way to make the model skip the anomalous data in the past and run the job with new data? Is it possible with Calendars?

---

<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:** [June 18, 2019, 10:12am UTC](https://discuss.elastic.co/t/skip-anomalous-data-in-job/186213/2 "2019-06-18T10:12:19Z")

</div>

Yes - easiest way to do this is:

1. Create a calendar day/event and assign it to a newly created job group:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/d/2/d2b524a93cc64544277159ac1e31beb8502d564f.png)

1. Add the job of interest to that newly created job group:

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

1. Clone the job (which also clones the fact that it belongs to the group):

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

1. The newly cloned job, when run, now has the time period ignored, as it obeyed the calendar:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1ec65d6391d4fb1265c71f863eccf21dc340efad.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 16, 2019, 10:12am UTC](https://discuss.elastic.co/t/skip-anomalous-data-in-job/186213/3 "2019-07-16T10:12:19Z")

</div>

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