# Index JSON data from kafka to elatsicsearch

**URL:** https://discuss.elastic.co/t/index-json-data-from-kafka-to-elatsicsearch/168990
**Category:** Logstash
**Created:** [February 19, 2019, 10:14am UTC](https://discuss.elastic.co/t/index-json-data-from-kafka-to-elatsicsearch/168990 "2019-02-19T10:14:49Z")
**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 19, 2019, 10:14am UTC](https://discuss.elastic.co/t/index-json-data-from-kafka-to-elatsicsearch/168990/1 "2019-02-19T10:14:50Z")

</div>

Hi,

I am trying to index JSON data from KAFKA to elasticsearch using a logstash pipeline. The JSON data is indexed in KAFKA cluster as a single message . How do i exactly parse it and store the JSON data in an index.

---

<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 19, 2019, 10:18am UTC](https://discuss.elastic.co/t/index-json-data-from-kafka-to-elatsicsearch/168990/2 "2019-03-19T10:18:31Z")

</div>

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