# Logtsash decode incorrectly avro messages

**URL:** https://discuss.elastic.co/t/logtsash-decode-incorrectly-avro-messages/136949
**Category:** Logstash
**Created:** [June 21, 2018, 10:42pm UTC](https://discuss.elastic.co/t/logtsash-decode-incorrectly-avro-messages/136949 "2018-06-21T22:42:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![gergaith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gergaith/32/32567_2.png) [@gergaith](https://discuss.elastic.co/u/gergaith)
#### Post date: [June 21, 2018, 10:42pm UTC](https://discuss.elastic.co/t/logtsash-decode-incorrectly-avro-messages/136949/1 "2018-06-21T22:42:30Z")

</div>

i'm trying to index data from kafka to ElasticSearch through logstash  
versions :  
logstash : 6.2.4  
elasticSearch : 6.2.4  
kafka : 0.10  
avro : 1.8.2  
the problem is that logstash read correctly the avro schema ( at least that's what i think ) but every execution i see them in different order and the major problem is that some fields remain empty and the rest get each other data , so the documents in elasticsearch are not relaible and correct  
PS: i checked some avro records, i converted them and i made sure the problem is not from them but at the level of logstash

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 19, 2018, 10:42pm UTC](https://discuss.elastic.co/t/logtsash-decode-incorrectly-avro-messages/136949/2 "2018-07-19T22:42:41Z")

</div>

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