Failed to execute bulk item max length:2kb

I'm using logstash + elasticsearch. both are 6.0.0
Elasticsearch output plugin is used for logstash to output a 147 fields document directly to Elasticsearch.

Below is the error message :

[2017-11-19T21:56:44,196][DEBUG][o.e.a.b.TransportShardBulkAction] [b777][4] failed to execute bulk item (index) BulkSha
rdRequest [[b777][4]] containing [index {[b777][doc][CAL012-17-11-09 21:54:44], source[n/a, actual length: [2.7kb], max
length: 2kb]}]

I found the problem by looking carefully on the error message. It all because something wrong with the data type and has nothing to do with length limitation.
Suggest to revise the error message, it will lead to wrong debugging direction.
:slight_smile:

Oh, forgot to mention, Elasticsearch output still has the length problem. I solved the problem by using http output plug-in.

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