# Discover link in APM doesn't set the correct index

**URL:** https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190
**Category:** APM
**Created:** [December 17, 2018, 4:27pm UTC](https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190 "2018-12-17T16:27:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sburnett](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sburnett](https://discuss.elastic.co/u/sburnett)
#### Post date: [December 17, 2018, 4:27pm UTC](https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190/1 "2018-12-17T16:27:20Z")

</div>

Just setup APM and it's working. We now have 2 index patterns, the old one and a new one called apm-_. When we click on the view occurrences in Discover it doesn't change the index pattern from the default to the apm-_ so nothing shows up. When you switch the index pattern from the current one to apm-\* you see the events. Is there anyway to get it to switch to the apm-\* index pattern when the link is clicked?

---

<div class="post-metadata">

### Author: ![sqren](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sqren/32/26110_2.png) [@sqren](https://discuss.elastic.co/u/sqren)
#### Post date: [December 17, 2018, 4:58pm UTC](https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190/2 "2018-12-17T16:58:38Z")

</div>

Hi Shannon,

Thanks for reaching out.  
This is a known problem, and has been fixed in the upcoming 6.6 release:

> <https://github.com/elastic/kibana/pull/26622>

---

<div class="post-metadata">

### Author: ![sburnett](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@sburnett](https://discuss.elastic.co/u/sburnett)
#### Post date: [December 17, 2018, 5:10pm UTC](https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190/3 "2018-12-17T17:10:26Z")

</div>

Thanks.

---

<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: [January 7, 2019, 1:14pm UTC](https://discuss.elastic.co/t/discover-link-in-apm-doesnt-set-the-correct-index/161190/4 "2019-01-07T13:14:13Z")

</div>

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