# Logstash Avro Codec non-base64 support

**URL:** https://discuss.elastic.co/t/logstash-avro-codec-non-base64-support/270225
**Category:** Logstash
**Created:** [April 15, 2021, 11:36am UTC](https://discuss.elastic.co/t/logstash-avro-codec-non-base64-support/270225 "2021-04-15T11:36:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![th0ger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/th0ger/32/82242_2.png) [@th0ger](https://discuss.elastic.co/u/th0ger)
#### Post date: [April 15, 2021, 11:36am UTC](https://discuss.elastic.co/t/logstash-avro-codec-non-base64-support/270225/1 "2021-04-15T11:36:30Z")

</div>

We would like to input non-base64 encoded avro data with the avro codec.

Similar to output syntax [Optional base64 encoding by johanvanderkuijl · Pull Request #29 · logstash-plugins/logstash-codec-avro · GitHub](https://github.com/logstash-plugins/logstash-codec-avro/pull/29)

```auto
    codec =>
    avro {
        schema_uri => "/path/to/schema.avsc"
        base64_encoding => false
    }

```

Is this also supported for input?

I wonder why [Avro codec plugin | Logstash Reference [7.12] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-avro.html) does not mention `base64_encoding` for output?

---

<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: [May 13, 2021, 11:36am UTC](https://discuss.elastic.co/t/logstash-avro-codec-non-base64-support/270225/2 "2021-05-13T11:36:58Z")

</div>

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