# How to remove all the Host&Cloud fields added to Filebeats/Elasticsearch index?

**URL:** <https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 14, 2020, 9:51am UTC](https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399 "2020-11-14T09:51:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![houmie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/houmie/32/78999_2.png) [@houmie](https://discuss.elastic.co/u/houmie)\
**Post date:** [November 14, 2020, 9:51am UTC](https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399/1 "2020-11-14T09:51:31Z")

</div>

Hello,

I finally got Filebeats/Elasticsearch/Kibana working.

However the stack seems to have injected a lot of cloud tags (e.g. cloud.account.id) and host tags (host.os.kernel) that has inflated the data and makes it hard to read. How can I remove them please?

Thank you,  
Houman

---

<div class="post-metadata">

**Author:** ![wangqinghuan](https://avatars.discourse-cdn.com/v4/letter/w/d26b3c/32.png) [@wangqinghuan](https://discuss.elastic.co/u/wangqinghuan)\
**Post date:** [November 14, 2020, 4:04pm UTC](https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399/2 "2020-11-14T16:04:43Z")

</div>

> [@houmie](#):
>
> How can I remove them

You could set [drop\_fields](https://www.elastic.co/guide/en/beats/filebeat/master/drop-fields.html) processor to drop field you dont need.

---

<div class="post-metadata">

**Author:** ![houmie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/houmie/32/78999_2.png) [@houmie](https://discuss.elastic.co/u/houmie)\
**Post date:** [November 14, 2020, 5:12pm UTC](https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399/3 "2020-11-14T17:12:50Z")

</div>

Thanks, I actually ended up doing something more radical and commented them all out.

```auto
    #processors:
         #- add_host_metadata:
         #when.not.contains.tags: forwarded
      #- add_cloud_metadata: ~
      #- add_docker_metadata: ~
      #- add_kubernetes_metadata: ~

```

---

<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:** [December 12, 2020, 7:12pm UTC](https://discuss.elastic.co/t/how-to-remove-all-the-host-cloud-fields-added-to-filebeats-elasticsearch-index/255399/4 "2020-12-12T19:12:52Z")

</div>

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