# How to easily see log events that caused the anomaly?

**URL:** <https://discuss.elastic.co/t/how-to-easily-see-log-events-that-caused-the-anomaly/180235>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [May 8, 2019, 6:38pm UTC](https://discuss.elastic.co/t/how-to-easily-see-log-events-that-caused-the-anomaly/180235 "2019-05-08T18:38:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlorinAndrei](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@FlorinAndrei](https://discuss.elastic.co/u/FlorinAndrei)\
**Post date:** [May 8, 2019, 6:38pm UTC](https://discuss.elastic.co/t/how-to-easily-see-log-events-that-caused-the-anomaly/180235/1 "2019-05-08T18:38:06Z")

</div>

ES 6.6

I'm indexing logs from a cluster. One field is numeric and shows the duration of DB transactions.

I made an anomaly detector tracking the numeric field. I see it flagging anomalies. In the Anomaly Explorer, I expand one anomaly and I look at the info therein. I can view the series just fine.

But I could not find a way to easily jump from there to the Discover window with the events that surround the anomaly filtered and displayed.

In other words, I want to see the logs that caused the anomaly. I want to see the actual DB transactions that were executed during that time. I could manually search for them, based on the info in the Anomaly Explorer, but I was hoping there's a direct link to it from the ML window.

---

<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 8, 2019, 7:35pm UTC](https://discuss.elastic.co/t/how-to-easily-see-log-events-that-caused-the-anomaly/180235/2 "2019-05-08T19:35:51Z")

</div>

Create a [Custom URL](https://www.elastic.co/guide/en/elastic-stack-overview/6.6/ml-configuring-url.html)

---

<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 5, 2019, 7:35pm UTC](https://discuss.elastic.co/t/how-to-easily-see-log-events-that-caused-the-anomaly/180235/3 "2019-06-05T19:35:54Z")

</div>

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