# There’s no APM index pattern available. To use the Query bar, please choose to import the APM index pattern in the Setup Instructions

**URL:** https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087
**Category:** APM
**Created:** [November 25, 2018, 9:33am UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087 "2018-11-25T09:33:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![struct](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/struct/32/38018_2.png) [@struct](https://discuss.elastic.co/u/struct)
#### Post date: [November 25, 2018, 9:33am UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/1 "2018-11-25T09:33:21Z")

</div>

I'm getting this alert.  
Searched this discussion board and found a thread that was closed back in Sep.  
[closed disussion from Sep](https://discuss.elastic.co/t/theres-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/147472)  
Tried all things recommended on that thread and nothing works.  
I apologize for opening another thread with same subject title. I would of continued on that thread but since it's closed and I couldn't comment on it.

I'm on 6.4.3 stack  
Thanks in advance.

@gil @sqren

---

<div class="post-metadata">

### Author: ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)
#### Post date: [November 26, 2018, 8:35am UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/2 "2018-11-26T08:35:04Z")

</div>

Hi,  
sorry to hear about the troubles. Did you do a fresh install or have you updated from a previous version? Could you check which `apm*` indices were created, and ensure that your `kibana.yml` has `apm_oss.indexPattern: 'apm*'` configured. Does importing the APM index pattern through the setup instructions show any error?

---

<div class="post-metadata">

### Author: ![struct](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/struct/32/38018_2.png) [@struct](https://discuss.elastic.co/u/struct)
#### Post date: [November 26, 2018, 4:30pm UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/3 "2018-11-26T16:30:23Z")

</div>

Hi @simitt  
I updated the ELK stack from 6.3 to 6.4.  
apm\* index pattern does exist.  
No errors during import of APM index pattern through setup instructions.  
kibana.yml has the apm\_oss.indexPattern: 'apm\*'

Still having the issue.

---

<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: [November 27, 2018, 9:36am UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/4 "2018-11-27T09:36:31Z")

</div>

Hi,

This could be related to this issue: [https://github.com/elastic/kibana/issues/24628](https://github.com/elastic/kibana/issues/24628).

Do you by any chance have more than 20 index patterns? You can see that by going to this url: `<kibana-host-url>/api/saved_objects/_find?type=index-pattern`

You should get a response like:

```auto
{
  "page": 1,
  "per_page": 20,
  "total": 5,
  "saved_objects": [...]
}

```

The number in `total` indicates the number of index patterns.

---

<div class="post-metadata">

### Author: ![struct](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/struct/32/38018_2.png) [@struct](https://discuss.elastic.co/u/struct)
#### Post date: [November 29, 2018, 1:29am UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/5 "2018-11-29T01:29:16Z")

</div>

@sqren, That looks like my issue.  
I have 34 index patterns.  
Looks like I need to upgrade to version 6.5.  
Thank you so much for the information.

---

<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: [November 29, 2018, 9:37pm UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/6 "2018-11-29T21:37:09Z")

</div>

@struct, great we found the problem.

Can you do me a favour, and let me know if this url returns the apm index pattern (and how many unrelated index patterns it contains):  
`<kibana host>/api/saved_objects/_find?type=index-pattern&per_page=10000&search=apm&search_fields=title`

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: [December 20, 2018, 5:37pm UTC](https://discuss.elastic.co/t/there-s-no-apm-index-pattern-available-to-use-the-query-bar-please-choose-to-import-the-apm-index-pattern-in-the-setup-instructions/158087/7 "2018-12-20T17:37:11Z")

</div>

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