# Elastic search HTTP URI query length

**URL:** <https://discuss.elastic.co/t/elastic-search-http-uri-query-length/165370>\
**Category:** Elasticsearch\
**Created:** [January 23, 2019, 9:57am UTC](https://discuss.elastic.co/t/elastic-search-http-uri-query-length/165370 "2019-01-23T09:57:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![srirama](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@srirama](https://discuss.elastic.co/u/srirama)\
**Post date:** [January 23, 2019, 9:57am UTC](https://discuss.elastic.co/t/elastic-search-http-uri-query-length/165370/1 "2019-01-23T09:57:27Z")

</div>

Hi All:

What is the URI length limitation for HTTP requests sent to ELASTIC HTTP interface (for passing multiple index names, along with cluster names) ? How to configure this parameter?

As per the link, [URL query parameters limitation](https://discuss.elastic.co/t/url-query-parameters-limitation/9084/2) and [https://netty.io/4.0/api/io/netty/handler/codec/http/HttpRequestDecoder.html](https://netty.io/4.0/api/io/netty/handler/codec/http/HttpRequestDecoder.html)  
It is NETTY got used as HTTP server implementation.

I did not find any documentation where we can configure the length for URI (tuning NETTY parameters).

My use case is to check multiple indexes with cluster names appended passed in URI, and the length may cross 2048 bytes.

How to tune the parameters to support more length for URIs.

This is my first post hence correct me in case any concerns.

Srirama

---

<div class="post-metadata">

**Author:** ![srirama](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@srirama](https://discuss.elastic.co/u/srirama)\
**Post date:** [February 1, 2019, 12:54pm UTC](https://discuss.elastic.co/t/elastic-search-http-uri-query-length/165370/2 "2019-02-01T12:54:16Z")

</div>

Pls. check [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-http.html) for the parameter http.max\_initial\_line\_length and need to configure in kb and need to mention unit also.

---

<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:** [March 1, 2019, 12:54pm UTC](https://discuss.elastic.co/t/elastic-search-http-uri-query-length/165370/3 "2019-03-01T12:54:18Z")

</div>

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