For other versions, see theVersioned plugin docs.
For questions about the plugin, open a topic in the Discuss forums. For bugs or feature requests, open an issue in Github.For the list of Elastic supported plugins, please consult the Elastic Support Matrix.
Read serialized Avro records as Logstash events
This plugin is used to serialize Logstash events asAvro datums, as well as deserializing Avro datums intoLogstash events.
This codec is for serializing individual Logstash eventsas Avro datums that are Avro binary blobs. It does not encodeLogstash events into an Avro file.
This codec is for deserializing individual Avro records. It is not for readingAvro files. Avro files have a unique format that must be handled upon input.
Example usage with Kafka input.
input { kafka { codec => avro { schema_uri => "/tmp/schema.avsc" } }}filter { ...}output { ...}
Setting | Input type | Required |
---|---|---|
Yes |
||
No |
schema path to fetch the schema from.This can be a http or file scheme URIexample:
http://example.com/schema.avsc
/path/to/schema.avsc
false
tag events with _avroparsefailure
when decode fails