# Dropping Events in Kubernetes

**URL:** <https://discuss.elastic.co/t/dropping-events-in-kubernetes/125195>\
**Category:** Beats\
**Created:** [March 22, 2018, 1:19pm UTC](https://discuss.elastic.co/t/dropping-events-in-kubernetes/125195 "2018-03-22T13:19:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![strowi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/strowi/32/29219_2.png) [@strowi](https://discuss.elastic.co/u/strowi)\
**Post date:** [March 22, 2018, 1:19pm UTC](https://discuss.elastic.co/t/dropping-events-in-kubernetes/125195/1 "2018-03-22T13:19:29Z")

</div>

Hi all,

i am having a hard time getting filebeat to filter events from kubernetes.  
I have the processor (beat 6.2.3) setup like this:

```
    - type: docker
      containers.ids:
      - "*"
      processors:
        - add_kubernetes_metadata:
            in_cluster: true

        - drop_event:
            when:
              or:
                - equals:
                    kubernetes.container.name: 'prometheus-node-exporter'
                - equals:
                    kubernetes.container.name: 'prometheus-kube-state-metrics'
                - equals:
                    kubernetes.container.name: 'filebeat'
                - equals:
                    kubernetes.container.name: 'heapster'

```

But the logs still show up in kibana/elasticsearch.. Does anyone have a clue what i am doing wrong?

regards,  
roman

---

<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:** [April 19, 2018, 3:19pm UTC](https://discuss.elastic.co/t/dropping-events-in-kubernetes/125195/2 "2018-04-19T15:19:37Z")

</div>

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