# Anomaly Detection Job Results Index

**URL:** <https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002>\
**Category:** Kibana\
**Created:** [July 29, 2024, 5:59pm UTC](https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002 "2024-07-29T17:59:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aphadnis](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aphadnis](https://discuss.elastic.co/u/aphadnis)\
**Post date:** [July 29, 2024, 5:59pm UTC](https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002/1 "2024-07-29T17:59:54Z")

</div>

Hi, I had a question regarding the results index used in anomaly detection.

So far, I've created an anomaly detection job (let's say it has the job id 'ad-job'), in which I'm using partition\_field and by\_field.

I notice that there are two ways that I can see the results of the anomaly detection job:

- `POST .ml-anomalies-ad-job/_search` : This approach shows me some metadata of the anomaly detection job and shows me some data of anomalies when I query it further. However, it doesn't show me any of the partition\_field\_value/by\_field\_value which I need to view.
- `POST _ml/anomaly_detectors/ad-job/results/records` : This query shows me everything I need, however it isn't an index?

As per my requirements, I basically want to take the results that I find from the second query and populate them in an index (which I can manually create if needed).  
The reason why I need it in an index specifically is because querying code written on my usecase's backend can be generalized to any index.

---

<div class="post-metadata">

**Author:** ![aphadnis](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aphadnis](https://discuss.elastic.co/u/aphadnis)\
**Post date:** [July 31, 2024, 1:57pm UTC](https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002/2 "2024-07-31T13:57:17Z")

</div>

@richcollier any help on this issue would be greatly appreciated 🙂

---

<div class="post-metadata">

**Author:** ![aphadnis](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@aphadnis](https://discuss.elastic.co/u/aphadnis)\
**Post date:** [July 31, 2024, 1:57pm UTC](https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002/3 "2024-07-31T13:57:49Z")

</div>

From #Elastic Search to #Kibana

---

<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:** [August 28, 2024, 1:58pm UTC](https://discuss.elastic.co/t/anomaly-detection-job-results-index/364002/4 "2024-08-28T13:58:13Z")

</div>

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