# Could I drop @timestamp and @metadata in a event before sending event to Kafka?

**URL:** <https://discuss.elastic.co/t/could-i-drop-timestamp-and-metadata-in-a-event-before-sending-event-to-kafka/261719>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 21, 2021, 3:55am UTC](https://discuss.elastic.co/t/could-i-drop-timestamp-and-metadata-in-a-event-before-sending-event-to-kafka/261719 "2021-01-21T03:55:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cy-zheng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cy-zheng/32/81683_2.png) [@cy-zheng](https://discuss.elastic.co/u/cy-zheng)\
**Post date:** [January 21, 2021, 3:55am UTC](https://discuss.elastic.co/t/could-i-drop-timestamp-and-metadata-in-a-event-before-sending-event-to-kafka/261719/1 "2021-01-21T03:55:28Z")

</div>

Could I drop @timestamp and @metadata in a event before sending event to Kafka?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 21, 2021, 4:40am UTC](https://discuss.elastic.co/t/could-i-drop-timestamp-and-metadata-in-a-event-before-sending-event-to-kafka/261719/2 "2021-01-21T04:40:23Z")

</div>

I don't believe you can, as Filebeat will always want them there.

---

<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 18, 2021, 6:40am UTC](https://discuss.elastic.co/t/could-i-drop-timestamp-and-metadata-in-a-event-before-sending-event-to-kafka/261719/3 "2021-02-18T06:40:43Z")

</div>

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