# Reading cloud event avro Message

**URL:** https://discuss.elastic.co/t/reading-cloud-event-avro-message/241070
**Category:** Logstash
**Created:** [July 14, 2020, 7:15am UTC](https://discuss.elastic.co/t/reading-cloud-event-avro-message/241070 "2020-07-14T07:15:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![revooru\_nischal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/revooru_nischal/32/72097_2.png) [@revooru\_nischal](https://discuss.elastic.co/u/revooru_nischal)
#### Post date: [July 14, 2020, 7:15am UTC](https://discuss.elastic.co/t/reading-cloud-event-avro-message/241070/1 "2020-07-14T07:15:38Z")

</div>

Hi ,  
I was trying to find a plugin which is able to read a kafka message which is of format [cloud event avro]([https://github.com/cloudevents/spec/blob/v1.0/avro-format.md](https://github.com/cloudevents/spec/blob/v1.0/avro-format.md)

eg :

`{"data_base64":"LFNSVl9Qb3N0T25lVHJhbnNhY3Rpb24=","id":"4f3f8f5e-78a3-4ec0-ac69-5d1005cea714","source":"Transaction_Post","specversion":"1.0","type":"com.prod.account.balance.update","datacontenttype":"application/avro","dataschema":"/balupdate","time":"2020-07-14T06:09:30.26444Z"}`

Here data\_base64 is of avro format and needs to be deserialized in logstash. If I send only the data inside data\_base64(i.e LFNSVl9Qb3N0T25lVHJhbnNhY3Rpb24=) it is working with [logstash avro Plugin](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-avro.html).

Is there any solution to use this avro plugin in filter or pass a field name to it ?

---

<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: [August 11, 2020, 7:15am UTC](https://discuss.elastic.co/t/reading-cloud-event-avro-message/241070/2 "2020-08-11T07:15:38Z")

</div>

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