# Ingesting kafka events including headers to elastic

**URL:** <https://discuss.elastic.co/t/ingesting-kafka-events-including-headers-to-elastic/230155>\
**Category:** Elasticsearch\
**Created:** [April 28, 2020, 11:58am UTC](https://discuss.elastic.co/t/ingesting-kafka-events-including-headers-to-elastic/230155 "2020-04-28T11:58:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ujval](https://avatars.discourse-cdn.com/v4/letter/u/6de8d8/32.png) [@Ujval](https://discuss.elastic.co/u/Ujval)\
**Post date:** [April 28, 2020, 11:58am UTC](https://discuss.elastic.co/t/ingesting-kafka-events-including-headers-to-elastic/230155/1 "2020-04-28T11:58:15Z")

</div>

We need to ingest logs from kafka topic to elastic. Event published on kafka includes event header as well. Header contains useful information which we need to ingest into elastic. How to approach this?

---

<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:** [May 26, 2020, 11:58am UTC](https://discuss.elastic.co/t/ingesting-kafka-events-including-headers-to-elastic/230155/2 "2020-05-26T11:58:28Z")

</div>

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