How to read avro serialized file from s3

I have avro files in s3 bucket and I am using s3 input plugin to read the file and passed by schema to codec but its throwing error and unable parse the file.
When I looked into the code for input plugin, it seems not .tar or .gz then it reads the file as a plain file.
Does this read condition has something to do with parsing error. S3 input config is simple.
Error I am getting : Failed to read the file. Skip processing. {:filename=>"/tmp/logstash/3_42ecaa46-033c-4289-8413-e3e6a2b6f961-0-0.avro", :exception=>"negative length -40 given"}

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