# Unable to fetch mapping. Do you have indices matching the pattern? (Indices exist)

**URL:** https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern-indices-exist/135422
**Category:** Kibana
**Created:** [June 11, 2018, 6:45pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern-indices-exist/135422 "2018-06-11T18:45:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jjmn1109](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@jjmn1109](https://discuss.elastic.co/u/jjmn1109)
#### Post date: [June 11, 2018, 6:45pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern-indices-exist/135422/1 "2018-06-11T18:45:01Z")

</div>

So, after I dropped index pattern (telemetry\_\*), I cannot add it back. I have the indices that match the pattern (GET /\_cat/indices) in elasticsearch. Also each index has data in it as they are existing indices.

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/0/8037cd246edcc784b79246f75f6efa30b35168ad.png)

Kibana is stubborn as below:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f31ba87efd6ba83cf12d579c586c8690eb58375a.png)

Can I please get a help?

The elastic stack versions are as follow:  
elasticsearch 5.2.0  
kibana 5.2.0  
logstash 5.2.2

Also, if I create another index and insert some data and try to add index pattern that matches the index, kibana won't fetch it either.

---

<div class="post-metadata">

### Author: ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)
#### Post date: [June 11, 2018, 10:35pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern-indices-exist/135422/2 "2018-06-11T22:35:59Z")

</div>

Hey @jjmn1109, this is commonly caused by logging in with a user that doesn't have permission to access these indices.

Can you make sure the user you're logged in can search over the data? Can you try logging in as the superuser and adding the index pattern?

```auto
GET telemetry_*/_search

```

---

<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: [July 10, 2018, 4:27pm UTC](https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern-indices-exist/135422/5 "2018-07-10T16:27:18Z")

</div>

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