# Kibana query with widcard index pattern is giving timeout

**URL:** <https://discuss.elastic.co/t/kibana-query-with-widcard-index-pattern-is-giving-timeout/205005>\
**Category:** Kibana\
**Created:** [October 24, 2019, 6:39am UTC](https://discuss.elastic.co/t/kibana-query-with-widcard-index-pattern-is-giving-timeout/205005 "2019-10-24T06:39:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srikarnaramsetty](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@srikarnaramsetty](https://discuss.elastic.co/u/srikarnaramsetty)\
**Post date:** [October 24, 2019, 6:39am UTC](https://discuss.elastic.co/t/kibana-query-with-widcard-index-pattern-is-giving-timeout/205005/1 "2019-10-24T06:39:07Z")

</div>

I have daily indices in elastic search(alerts-2019.10.22). For Kibana I have configured to use an wildcard index pattern(alerts-\*) to search over all the indices. When the data grows over 3 months(\>90 indices), Kibana querying is failing with a default timeout of 30secs. I have 7 visualizations in my dashboard. What is the best way to handle this?

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [October 24, 2019, 5:08pm UTC](https://discuss.elastic.co/t/kibana-query-with-widcard-index-pattern-is-giving-timeout/205005/2 "2019-10-24T17:08:09Z")

</div>

Hey @srikarnaramsetty. First, we'll need to figure out the specific query which is timing out, to look into why it's taking so long to execute.

At the top of your screen, you should see an "Inspect" button. Click this, and a sidebar to the right will be displayed. At the top, change the drop-down to "Requests" and then select the "Request" tab. This will allow you to see the actual query which is being executed against Elasticsearch and copy it:

 ![inspect-request](https://us1.discourse-cdn.com/elastic/original/3X/a/b/abaea3e56bbd83de8194fd8abfc2e606f88469d2.gif)

You can then use the [Profile API](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-profile.html) via Kibana DevTools to further investigate why your query is timing out.

---

<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:** [November 21, 2019, 5:08pm UTC](https://discuss.elastic.co/t/kibana-query-with-widcard-index-pattern-is-giving-timeout/205005/3 "2019-11-21T17:08:13Z")

</div>

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