Failed to parse field [datasize] of type [integer] in document with id

Hi,

I'm getting the following error from logstash. The field is mapped as an integer and the number is only 11 digits long. Is this mapped as the correct type? Please advise.

[2020-10-01T10:10:18,893][WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>["update", {:_id=>"6ec32a178dfdc10bda5eb2c3d32ebe3805c3670fce1ed99b7e4cc7bc08829e50", :_index=>"alm-logtype", :_type=>"_doc", :routing=>nil, :retry_on_conflict=>1}, #LogStash::Event:0x57c61a2c], :response=>{"update"=>{"_index"=>"alm-logtype", "_type"=>"_doc", "_id"=>"6ec32a178dfdc10bda5eb2c3d32ebe3805c3670fce1ed99b7e4cc7bc08829e50", "status"=>400, "error"=>{"type"=>"mapper_parsing_exception", "reason"=>"failed to parse field [datasize] of type [integer] in document with id '6ec32a178dfdc10bda5eb2c3d32ebe3805c3670fce1ed99b7e4cc7bc08829e50'. Preview of field's value: '15672161421'", "caused_by"=>{"type"=>"json_parse_exception", "reason"=>"Numeric value (15672161421) out of range of int\n at [Source: org.elasticsearch.common.bytes.BytesReference$MarkSupportingStreamInputWrapper@54e3762f; line: 1, column: 54]"}}}}}

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