Changing Elasticsearch document size limit

Viewed 33

I have 2 installations of ES with version 8.3.2 and 7.17.4 . On both of them, I have seen documents of size more than 200KB not getting uploaded via logstash. If there is a size limit in ES, how and where do I change this? I have not found any such property in elasticsearch.yml .

Thanks in advance Ajay

1 Answers

I found out that there were more than 500 newlines in the files. And the multiline codec setting had 500 as a limit. Once I increased the value these files also got uploaded.

However it is strange I didnt see a WARN or ERROR log when this was happening.

Related