# Avro input to Json output

**URL:** https://discuss.elastic.co/t/avro-input-to-json-output/84083
**Category:** Logstash
**Created:** [April 29, 2017, 9:55am UTC](https://discuss.elastic.co/t/avro-input-to-json-output/84083 "2017-04-29T09:55:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![no\_jihun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/no_jihun/32/64028_2.png) [@no\_jihun](https://discuss.elastic.co/u/no_jihun)
#### Post date: [April 29, 2017, 9:55am UTC](https://discuss.elastic.co/t/avro-input-to-json-output/84083/1 "2017-04-29T09:55:07Z")

</div>

Hello.

When events created I send it to kafka topic.

now I want to consume that same topic then write it to both of elasticsearch and hdfs directory

for elasticsearsh it simply can be done with logstash ( kafka input, es output ).  
This case kafka msg should json formatted.

for hdfs. I have no good idea. and it is my question.

basically I want to use kafka hdfs connector.  
but it only supports avro. and logstash not support avro stream.

what about logstash hdfs output ? is that enterprise ready?

events volume is not small , so avro is acceptable and json seems not adoptable. because of file size and network load.

what is your idea for this situation?

---

<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 27, 2017, 9:56am UTC](https://discuss.elastic.co/t/avro-input-to-json-output/84083/2 "2017-05-27T09:56:19Z")

</div>

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