# Docker implementation - Filebeats 7.17.2 - drop\_events not working

**URL:** <https://discuss.elastic.co/t/docker-implementation-filebeats-7-17-2-drop-events-not-working/303647>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [April 30, 2022, 7:57pm UTC](https://discuss.elastic.co/t/docker-implementation-filebeats-7-17-2-drop-events-not-working/303647 "2022-04-30T19:57:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![amills157](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@amills157](https://discuss.elastic.co/u/amills157)\
**Post date:** [May 1, 2022, 4:20pm UTC](https://discuss.elastic.co/t/docker-implementation-filebeats-7-17-2-drop-events-not-working/303647/5 "2022-05-01T16:20:23Z")

</div>

Hi @stephenb,

Apologies for any syntax issues there - The top two / originally posted configs had been modelled on those in this [post](https://discuss.elastic.co/t/processor-drop-event-not-dropping-events/72186/5) which made use of the `-` as mine does.

I have amended to follow your example:

```auto
filebeat.autodiscover:
  providers:
    - type: docker
      hints.enabled: true
      processors:
        - drop_event.when.contains.container.image.name: kibana

```

However as shown here that hasn't worked either (kibana feed following the most recent config edit)

 ![Screenshot at 2022-05-01 17-19-48](https://us1.discourse-cdn.com/elastic/original/3X/c/d/cd4db0ae8aa307ead859b2d78261edd005b5df5a.png)

You can see that the image / container names should be matching (or not matching for the httpd rule) but I'm getting all logs regardless of the config used.

---

_[View the full topic](https://discuss.elastic.co/t/docker-implementation-filebeats-7-17-2-drop-events-not-working/303647)._
