# How do display anomaly explorer in Kibana Dashboard

**URL:** <https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499>\
**Category:** Kibana\
**Created:** [July 18, 2017, 6:13am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499 "2017-07-18T06:13:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Wilson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerald_wilson/32/57549_2.png) [@Gerald\_Wilson](https://discuss.elastic.co/u/Gerald_Wilson)\
**Post date:** [July 18, 2017, 6:13am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/1 "2017-07-18T06:13:42Z")

</div>

I have many multi metric jobs created. I want to display only the summary anomaly timeline ( as it appears in anomaly explorer) in the kibana dashboard with a link for drill down which will take me to the anomaly explorer. Need help on this as I am not able to take anomaly explorer to Kibana dashboard

---

<div class="post-metadata">

**Author:** ![sophie\_chang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sophie_chang/32/18008_2.png) [@sophie\_chang](https://discuss.elastic.co/u/sophie_chang)\
**Post date:** [July 18, 2017, 9:43am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/2 "2017-07-18T09:43:57Z")

</div>

Hi Gerald

The anomaly explorer swimlane is not available as a reusable visualisation component, so it cannot be easily inserted into a standard Kibana dashboard. We'd had a few requests for this so far, and your feedback is noted.

To get a representation of the anomaly results, then you can use the heatmap visualtization, or even a vertical bar chart.

The information is stored in `.ml-anomalies-*` index - create this as an index pattern for this with `timestamp` as the date field.  
Filter by `job_id: <your_job>` and `result_type: bucket`  
Use a max aggregation on field `anomaly_score`  
Use date histogram for field `timestamp` as the x-axis.

You may not be able to replicate the colours exactly.

I'm not sure about a drill down link. Perhaps this could be added using a markdown component.

Regards  
Sophie

---

<div class="post-metadata">

**Author:** ![Gerald\_Wilson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerald_wilson/32/57549_2.png) [@Gerald\_Wilson](https://discuss.elastic.co/u/Gerald_Wilson)\
**Post date:** [July 19, 2017, 3:38am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/3 "2017-07-19T03:38:31Z")

</div>

Thanks Sophie...Will try the suggested way..

---

<div class="post-metadata">

**Author:** ![Gerald\_Wilson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerald_wilson/32/57549_2.png) [@Gerald\_Wilson](https://discuss.elastic.co/u/Gerald_Wilson)\
**Post date:** [July 21, 2017, 8:12am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/4 "2017-07-21T08:12:08Z")

</div>

Dear Sophie,

I was able to do Heatmap and vertical bar using your suggested method . Thanks.  
Would require input on

1. How to show heatmap visualization as a single bar horizontal line ,like the anomaly explorer and only change the colours based on the anomaly score.
2. How to have a different time line ( say month to date ) only for this representation. The other visuals in the dashboard may have a different timeline .

Regds  
Gerald

---

<div class="post-metadata">

**Author:** ![sophie\_chang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sophie_chang/32/18008_2.png) [@sophie\_chang](https://discuss.elastic.co/u/sophie_chang)\
**Post date:** [July 21, 2017, 9:47am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/5 "2017-07-21T09:47:52Z")

</div>

Hi Gerald

Glad you could make some progress...

The heatmap allows you to pick from a set of colour ranges, so I don't think it is possible to replicate the exact same colours as the ML swim lane. If you click on the Options link in the heatmap config, you can add in 4 distinct Custom Ranges. Using Yellow - Red Colour Schema is the closest I could get to the swimlane. Adding job\_id as the Y-axis should give a single horizontal bar providing you have one job\_id, however it does still use a bit more vertical space on page. Questions and requests for customising the heatmap would be better directed at the Kibana forum - it may be possible to do more.

There is a big advantage to using the in-built visualizations as it greatly simplifies things when it comes to upgrading Kibana. However, there is also a Kibana swimlane plugin which might be interesting for you. This can be found here. [https://github.com/prelert/kibana-swimlane-vis](https://github.com/prelert/kibana-swimlane-vis). The look-and-feel is probably closer to what you are after, but it will need manual effort on every upgrade as the plugin will need to be upgraded too. (For full disclosure, this was published by the company that used to be the ML team... but it is now a community plugin.)

Regarding 2 - the Kibana time picker is global for the page. Conversations about this are best covered in the Kibana forum.

Regards  
Sophie

---

<div class="post-metadata">

**Author:** ![Gerald\_Wilson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gerald_wilson/32/57549_2.png) [@Gerald\_Wilson](https://discuss.elastic.co/u/Gerald_Wilson)\
**Post date:** [July 21, 2017, 10:42am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/6 "2017-07-21T10:42:05Z")

</div>

Thanks Sophie.  
Will try out as suggested

Regds  
Gerald

---

<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 18, 2017, 10:42am UTC](https://discuss.elastic.co/t/how-do-display-anomaly-explorer-in-kibana-dashboard/93499/7 "2017-08-18T10:42:49Z")

</div>

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