# Getting search\_phase\_execution\_exception in Kibana Discover pane

**URL:** https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622
**Category:** Kibana
**Created:** [March 2, 2022, 1:35pm UTC](https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622 "2022-03-02T13:35:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ankitdevnalkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankitdevnalkar/32/46158_2.png) [@ankitdevnalkar](https://discuss.elastic.co/u/ankitdevnalkar)
#### Post date: [March 2, 2022, 1:35pm UTC](https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622/1 "2022-03-02T13:35:29Z")

</div>

I have many indices such as cloud-audit-aws, cloud-audit-azure, cloud-audit-gsuite, cloud-audit-secret-tools, cloud-audit-github, and many more starting with `cloud-audit`. I have created an index pattern `cloud-audit*` to merge all indices data to create a few visualizations.

After creating index pattern, while checking all events from discover pane it gives me the below error. Can anyone help me understand what is wrong here?

I tried following [this](https://discuss.elastic.co/t/kibana-elasticsearch-search-phase-execution-exception-all-shards-failed/267704) thread and disabled `Highlight Results` option but no success.

 ![Selection_058](https://us1.discourse-cdn.com/elastic/original/3X/b/c/bcabefec5b6e34faac41d01f3ecbb8c04319075a.png)

---

<div class="post-metadata">

### Author: ![ankitdevnalkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankitdevnalkar/32/46158_2.png) [@ankitdevnalkar](https://discuss.elastic.co/u/ankitdevnalkar)
#### Post date: [March 4, 2022, 6:57am UTC](https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622/2 "2022-03-04T06:57:34Z")

</div>

Can anyone help? We are facing this issue in the production environment.

---

<div class="post-metadata">

### Author: ![ankitdevnalkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ankitdevnalkar/32/46158_2.png) [@ankitdevnalkar](https://discuss.elastic.co/u/ankitdevnalkar)
#### Post date: [March 4, 2022, 7:44am UTC](https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622/3 "2022-03-04T07:44:43Z")

</div>

it got resolved by changing the following index settings !!! posting here in case someone suffering from same problem.

```auto
PUT .apm-agent-configuration/_settings
{
  "index.max_docvalue_fields_search": 300
}

```

---

<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: [April 1, 2022, 7:45am UTC](https://discuss.elastic.co/t/getting-search-phase-execution-exception-in-kibana-discover-pane/298622/4 "2022-04-01T07:45:34Z")

</div>

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