Elasticsearch: Add cluster level setting to control the max size of warning headers in client HTTP responses

Created on 18 Jan 2018  路  2Comments  路  Source: elastic/elasticsearch

Today warning headers returned on client responses can be unbounded in size without a user knob to control this. Such warning headers can accumulate rapidly on, for example, bulk indexing requests using deprecated fields (e.g., string for keyword and text) across many fields. This can cause problems when there is a proxy between clients which limits the buffer size for proxy responses. This issue proposes adding a cluster level byte size setting that allows users to limit the size of warning headers sent on client HTTP responses. The default should be unbounded.

Relates #17804

:CorInfrCore >enhancement v6.3.0

Most helpful comment

It's possible that the proxy rejects the headers because of their number rather than/as well as their total size. It might be useful to limit the number of headers too.

All 2 comments

It's possible that the proxy rejects the headers because of their number rather than/as well as their total size. It might be useful to limit the number of headers too.

Yes, please! We've just his this issue on Kibana/ES/ECE deployment, where ECE proxy chokes up on a bunch of warning coming from ES to Kibana and that basically made our Kibana permanently broken until we dropped the index that was generating warnings...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

clintongormley picture clintongormley  路  3Comments

malpani picture malpani  路  3Comments

makeyang picture makeyang  路  3Comments

Praveen82 picture Praveen82  路  3Comments

martijnvg picture martijnvg  路  3Comments