# \[SOLVED\]How to remove agent.\* and ecs.version?

**URL:** <https://discuss.elastic.co/t/solved-how-to-remove-agent-and-ecs-version/183643>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 31, 2019, 2:29am UTC](https://discuss.elastic.co/t/solved-how-to-remove-agent-and-ecs-version/183643 "2019-05-31T02:29:35Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Duked](https://avatars.discourse-cdn.com/v4/letter/d/a4c791/32.png) [@Duked](https://discuss.elastic.co/u/Duked)\
**Post date:** [May 31, 2019, 12:54pm UTC](https://discuss.elastic.co/t/solved-how-to-remove-agent-and-ecs-version/183643/3 "2019-05-31T12:54:15Z")

</div>

Thanks @martinr_ubi. I thought there would be an option in filebeat directly to drop all meta data 😕

I'll do it the way you suggested unless someone knows a better way 😉

---

_[View the full topic](https://discuss.elastic.co/t/solved-how-to-remove-agent-and-ecs-version/183643)._
