# Kafka to elasticsearch not going data

**URL:** https://discuss.elastic.co/t/kafka-to-elasticsearch-not-going-data/116824
**Category:** Logstash
**Created:** [January 24, 2018, 8:26am UTC](https://discuss.elastic.co/t/kafka-to-elasticsearch-not-going-data/116824 "2018-01-24T08:26:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Shekhar\_Pandey](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@Shekhar\_Pandey](https://discuss.elastic.co/u/Shekhar_Pandey)
#### Post date: [January 24, 2018, 8:26am UTC](https://discuss.elastic.co/t/kafka-to-elasticsearch-not-going-data/116824/1 "2018-01-24T08:26:15Z")

</div>

Hello..

I am transferring data from kafka to elastic through logstash...below is my conf file details  
input {  
kafka {  
bootstrap\_servers =\> "localhost:9092"  
topics =\> ["test"]

}  
}  
output {

stdout {  
codec =\> json\_lines  
}  
elasticsearch {  
hosts =\> ["localhost:9200"]  
codec =\> json\_lines  
index =\> "samz"  
}  
}

But I am not getting data in elasticsearch....while running it showing following information...only..

 ![error](https://us1.discourse-cdn.com/elastic/original/3X/2/f/2fd6aebaba70998dc1d83fd44e78877f3fbdac79.PNG)

---

<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: [February 21, 2018, 8:26am UTC](https://discuss.elastic.co/t/kafka-to-elasticsearch-not-going-data/116824/2 "2018-02-21T08:26:15Z")

</div>

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