# Cannot drop fields from checkpoint filebeat module

**URL:** <https://discuss.elastic.co/t/cannot-drop-fields-from-checkpoint-filebeat-module/265604>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 26, 2021, 11:31am UTC](https://discuss.elastic.co/t/cannot-drop-fields-from-checkpoint-filebeat-module/265604 "2021-02-26T11:31:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lachezar.uzunov](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@lachezar.uzunov](https://discuss.elastic.co/u/lachezar.uzunov)\
**Post date:** [February 26, 2021, 11:31am UTC](https://discuss.elastic.co/t/cannot-drop-fields-from-checkpoint-filebeat-module/265604/1 "2021-02-26T11:31:29Z")

</div>

Hello everyone, I am using filebeat checkpoint module and want to reduce the log size of the logs, cutting fields like destination.geo.city.name.

My /etc/filebeat/filebeat.yml contains:

```auto
    - drop_fields:
           when:
               equals:
                  event.module: "checkpoint"
     
           fields: ["destination.geo.city.name"]

```

The same syntax is working fine for other filebeat modules such as imperva.

drop\_event is also working fine but drop\_fields is not dropping anything at all.  
Tried as well as with fields: ["destination.geo.city.name.keyword"] but failed as well

Any ideas?

---

<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:** [March 26, 2021, 1:32pm UTC](https://discuss.elastic.co/t/cannot-drop-fields-from-checkpoint-filebeat-module/265604/2 "2021-03-26T13:32:06Z")

</div>

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