# Search functionality in Elastic Stack fails with a proxy error

**URL:** <https://discuss.elastic.co/t/search-functionality-in-elastic-stack-fails-with-a-proxy-error/327372>\
**Category:** Kibana\
**Created:** [March 9, 2023, 3:34pm UTC](https://discuss.elastic.co/t/search-functionality-in-elastic-stack-fails-with-a-proxy-error/327372 "2023-03-09T15:34:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhanuji\_paluri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhanuji_paluri/32/101841_2.png) [@Bhanuji\_paluri](https://discuss.elastic.co/u/Bhanuji_paluri)\
**Post date:** [March 9, 2023, 3:34pm UTC](https://discuss.elastic.co/t/search-functionality-in-elastic-stack-fails-with-a-proxy-error/327372/1 "2023-03-09T15:34:31Z")

</div>

when the search is filtered with indices of large size and with more no of days ex: more than 7 days. Steps to reproduce: Login to Kibana service: [https://docklin-efk-ks.sel](https://docklin-efk-ks.sel)

 ![image-2023-03-08-23-53-11-692](https://us1.discourse-cdn.com/elastic/original/3X/e/f/ef649d7d50b8ffaa2c181bc76b6fa05e00931c06.png)  
.rnd.internal.com/  
select index pattern daas\* Change the start and end date to get logs from the last 5 days Wait for a few mins as the search takes a few mins and fails with 502 Proxy Error. The same step could also be reproduced even when an index is chosen as a filter and an index value is chosen ex: daas001. There is currently an ILM policy running that will clean most of the indices in the next two days. However, we would like to understand why we started to see this error as we have never seen it before even with indices of large size. It would be helpful in ensuring the search functionality works smoothly.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [March 10, 2023, 4:24pm UTC](https://discuss.elastic.co/t/search-functionality-in-elastic-stack-fails-with-a-proxy-error/327372/2 "2023-03-10T16:24:07Z")

</div>

Hi @Bhanuji_paluri. I would suggest checking your Kibana server logs and Elasticsearch application logs for any errors that might indicate why this is happening.

---

<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 7, 2023, 4:24pm UTC](https://discuss.elastic.co/t/search-functionality-in-elastic-stack-fails-with-a-proxy-error/327372/3 "2023-04-07T16:24:13Z")

</div>

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