# Increase URL\_MAX\_OTHERS to avoid URL overflow error

**URL:** <https://discuss.elastic.co/t/increase-url-max-others-to-avoid-url-overflow-error/73054>\
**Category:** Kibana\
**Created:** [January 27, 2017, 7:09pm UTC](https://discuss.elastic.co/t/increase-url-max-others-to-avoid-url-overflow-error/73054 "2017-01-27T19:09:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArunANayagam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunanayagam/32/45171_2.png) [@ArunANayagam](https://discuss.elastic.co/u/ArunANayagam)\
**Post date:** [January 27, 2017, 7:09pm UTC](https://discuss.elastic.co/t/increase-url-max-others-to-avoid-url-overflow-error/73054/1 "2017-01-27T19:09:21Z")

</div>

Hi,

I am using Kibana 4.6.1.

I am intentionally trying to execute a large boolean query.  
I am getting a URL overflow error, defined here, ./src/ui/public/error\_url\_overflow/url\_overflow\_service.js

I don't know how to increase that. Is there a way to do that?

If changing the value in url\_overflow\_service.js and building kibana is the only solution, can you either please list the step to build (I have no clue about building such projects) or point me to a resource of how to build. Please don't point me here -- [https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md)  
I don't understand that.

I have already changed index.query.bool.max\_clause\_count of Elasticsearch so the search as such is not an issue.

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![ArunANayagam](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunanayagam/32/45171_2.png) [@ArunANayagam](https://discuss.elastic.co/u/ArunANayagam)\
**Post date:** [January 28, 2017, 5:03pm UTC](https://discuss.elastic.co/t/increase-url-max-others-to-avoid-url-overflow-error/73054/2 "2017-01-28T17:03:13Z")

</div>

Hi All,

I found the solution, I had a older version of Kibana 4.6.1

This post suggests that the fix for the URL overflow was provided to 4.6.1,

> <https://github.com/elastic/kibana/pull/8273>

So I installed the latest 4.6.1 and changed this setting "state:storeInSessionStorage" to true in Settings --\> Advanced tab. And any number of boolean clause works fine.

Please remember to change elasticsearch.yml, index.query.bool.max\_clause\_count according to your needs.

CPU usage does drastically increase when a large query is executed, so be mindful of that.

Thanks,  
Arun

---

<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:** [February 25, 2017, 5:03pm UTC](https://discuss.elastic.co/t/increase-url-max-others-to-avoid-url-overflow-error/73054/3 "2017-02-25T17:03:20Z")

</div>

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