# How to prevent adding extra fields by filebeat to the actual log records

**URL:** <https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [August 6, 2018, 6:17am UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095 "2018-08-06T06:17:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramanna\_hk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramanna_hk/32/52522_2.png) [@ramanna\_hk](https://discuss.elastic.co/u/ramanna_hk)\
**Post date:** [August 6, 2018, 6:17am UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095/1 "2018-08-06T06:17:52Z")

</div>

Hi,

I am shipping log data to Kafka topic using file beat, here the problem is i don't want to have extra fields added by file-beat ex: file-beat version.

is it possible?

Thanks

---

<div class="post-metadata">

**Author:** ![ramanna\_hk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramanna_hk/32/52522_2.png) [@ramanna\_hk](https://discuss.elastic.co/u/ramanna_hk)\
**Post date:** [August 7, 2018, 4:40am UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095/2 "2018-08-07T04:40:58Z")

</div>

any one help me please

---

<div class="post-metadata">

**Author:** ![jsoriano](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsoriano/32/27920_2.png) [@jsoriano](https://discuss.elastic.co/u/jsoriano)\
**Post date:** [August 7, 2018, 5:23pm UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095/3 "2018-08-07T17:23:25Z")

</div>

Hi @ramanna_hk,

You can remove any field you don't want with the [`drop_fields` processor](https://www.elastic.co/guide/en/beats/filebeat/6.3/drop-fields.html).

---

<div class="post-metadata">

**Author:** ![ramanna\_hk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramanna_hk/32/52522_2.png) [@ramanna\_hk](https://discuss.elastic.co/u/ramanna_hk)\
**Post date:** [August 9, 2018, 5:42am UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095/4 "2018-08-09T05:42:15Z")

</div>

Thanks

---

<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:** [September 6, 2018, 5:42am UTC](https://discuss.elastic.co/t/how-to-prevent-adding-extra-fields-by-filebeat-to-the-actual-log-records/143095/5 "2018-09-06T05:42:22Z")

</div>

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