# Indexing data from kafka to elasticsearch

**URL:** https://discuss.elastic.co/t/indexing-data-from-kafka-to-elasticsearch/168006
**Category:** Logstash
**Created:** [February 12, 2019, 9:57am UTC](https://discuss.elastic.co/t/indexing-data-from-kafka-to-elasticsearch/168006 "2019-02-12T09:57:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![B123](https://avatars.discourse-cdn.com/v4/letter/b/5fc32e/32.png) [@B123](https://discuss.elastic.co/u/B123)
#### Post date: [February 12, 2019, 9:57am UTC](https://discuss.elastic.co/t/indexing-data-from-kafka-to-elasticsearch/168006/1 "2019-02-12T09:57:19Z")

</div>

Hi,  
I am trying to index data from an existing topic in kafka to elasticserach. I am using the kafka input plugin in my logstash pipeline . Providing the below  
bootstrap\_servers =\> "localhost:port"  
topics =\> "topic\_name"

But the index is not getting created in elasticsearch nor am i getting any errors in my logstash logs.

---

<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: [March 12, 2019, 9:57am UTC](https://discuss.elastic.co/t/indexing-data-from-kafka-to-elasticsearch/168006/2 "2019-03-12T09:57:25Z")

</div>

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