# Using X-pack anomaly detection on my own time series data

**URL:** <https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 4, 2017, 6:33pm UTC](https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613 "2017-05-04T18:33:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![michalp](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@michalp](https://discuss.elastic.co/u/michalp)\
**Post date:** [May 4, 2017, 6:33pm UTC](https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613/1 "2017-05-04T18:33:23Z")

</div>

I looked at the demo of multi-series anomaly detection in X-Pack, and it's really cool. But I want to use it on my own data that does not come from ElasticSearch. I don't suppose that this is supported, but want to ask anyway. And even if it is not supported, I want to know if the code for performing the detection is open source by any chance and I could adapt it to my data?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 5, 2017, 8:35am UTC](https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613/2 "2017-05-05T08:35:39Z")

</div>

> But I want to use it on my own data that does not come from Elasticsearch.

Indeed. Not supported. You must index data into elasticsearch. There are tons of connectors to do that easily. Have a look at logstash for example.

> I want to know if the code for performing the detection is open source by any chance

No. It's not.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 5, 2017, 1:59pm UTC](https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613/3 "2017-05-05T13:59:32Z")

</div>

Actually you can post your data to the machine learning engine. Read here: [https://www.elastic.co/guide/en/x-pack/current/ml-api-job-endpoint.html#ml-post-data](https://www.elastic.co/guide/en/x-pack/current/ml-api-job-endpoint.html#ml-post-data)

---

<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 2, 2017, 2:03pm UTC](https://discuss.elastic.co/t/using-x-pack-anomaly-detection-on-my-own-time-series-data/84613/4 "2017-06-02T14:03:18Z")

</div>

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