# Facing issues in starting Logstash using kafka input plugin and avro codec

**URL:** <https://discuss.elastic.co/t/facing-issues-in-starting-logstash-using-kafka-input-plugin-and-avro-codec/100525>\
**Category:** Logstash\
**Created:** [September 14, 2017, 11:50am UTC](https://discuss.elastic.co/t/facing-issues-in-starting-logstash-using-kafka-input-plugin-and-avro-codec/100525 "2017-09-14T11:50:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aarthy.Krishnamurthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aarthy.krishnamurthy/32/80330_2.png) [@Aarthy.Krishnamurthy](https://discuss.elastic.co/u/Aarthy.Krishnamurthy)\
**Post date:** [September 14, 2017, 11:50am UTC](https://discuss.elastic.co/t/facing-issues-in-starting-logstash-using-kafka-input-plugin-and-avro-codec/100525/1 "2017-09-14T11:50:38Z")

</div>

Hi,  
I am entirely new to Logstash and elasticsearch  
Currently I am facing a problem creating LS pipeline using kafka input which receives an avro message.

 ![LS_Error](https://us1.discourse-cdn.com/elastic/original/3X/b/7/b7d8c7fb11419c4931048721d124e6e79e7b69b2.JPG)

The following is the configuration that is being used.

input {  
kafka{  
bootstrap\_servers =\> "localhost:9092"  
group\_id =\> "logstashgroup"  
codec =\> {  
avro =\> {  
schema\_uri =\> 'path\to\avro\schema\file.avsc'  
}  
}  
value\_deserializer\_class =\> "path\to\avro\deserializer\class\AvroDeserializer.class"  
topics =\> "kafka\_topic1"  
}  
}  
output {  
stdout { }  
elasticsearch { hosts =\> "localhost:9200"  
index =\> "kafka\_topic1\_index"}  
}

Installed:  
logstash-5.5  
logstash-input-kafka 5.1.8  
logstash-output-elasticsearch 7.3.6  
logstash-codec-avro 3.2.1  
elasticsearch-5.5

Any help from the community is a motivation !

Thanks.

---

<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:** [October 12, 2017, 11:50am UTC](https://discuss.elastic.co/t/facing-issues-in-starting-logstash-using-kafka-input-plugin-and-avro-codec/100525/2 "2017-10-12T11:50:58Z")

</div>

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