# Packetbeat + kafka + Logstash - Mapping not working

**URL:** <https://discuss.elastic.co/t/packetbeat-kafka-logstash-mapping-not-working/90623>\
**Category:** Logstash\
**Created:** [June 23, 2017, 11:14am UTC](https://discuss.elastic.co/t/packetbeat-kafka-logstash-mapping-not-working/90623 "2017-06-23T11:14:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [June 23, 2017, 11:14am UTC](https://discuss.elastic.co/t/packetbeat-kafka-logstash-mapping-not-working/90623/1 "2017-06-23T11:14:55Z")

</div>

I tried to introduce kafka into my existing infrastructure. But Mapping not working when I insert the packetbeat data on Kafka and read the data from kafka using Logstash.

Even I updated the template (packetbeat.template.json) manually into elasticsearch [same template used by packetbeat].

Version:  
5.4.1

---

<div class="post-metadata">

**Author:** ![gugansankar](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gugansankar](https://discuss.elastic.co/u/gugansankar)\
**Post date:** [June 26, 2017, 4:28pm UTC](https://discuss.elastic.co/t/packetbeat-kafka-logstash-mapping-not-working/90623/2 "2017-06-26T16:28:46Z")

</div>

problem got fixed. its due to logstash configuration issue.

---

<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:** [July 24, 2017, 4:29pm UTC](https://discuss.elastic.co/t/packetbeat-kafka-logstash-mapping-not-working/90623/3 "2017-07-24T16:29:02Z")

</div>

Closed on July 24, 2017, 4:29pm UTC

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