# Filebeat.yml drop event not working

**URL:** <https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [September 16, 2020, 2:46am UTC](https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761 "2020-09-16T02:46:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![angeloli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/angeloli/32/75645_2.png) [@angeloli](https://discuss.elastic.co/u/angeloli)\
**Post date:** [September 16, 2020, 2:46am UTC](https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761/1 "2020-09-16T02:46:59Z")

</div>

I have add these in filebeat.yml, (version is 7.9)  
I try every kinds of these keywords , but i still receive the process.name = "kibana" event.  
why ?  
Please kindly help  
#========

### Drop event

processors:  
- drop\_event:  
when:  
or:  
- equals:  
process.name: "filebeat"  
- equals:  
system.process.name: "kibana"  
- equals:  
system.process.name: "^kibana.\*"  
- equals:  
process.name: kibana  
- equals:  
process.name: "kibana"  
#===================

---

<div class="post-metadata">

**Author:** ![borna\_talebi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/borna_talebi/32/76317_2.png) [@borna\_talebi](https://discuss.elastic.co/u/borna_talebi)\
**Post date:** [September 16, 2020, 4:02am UTC](https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761/2 "2020-09-16T04:02:00Z")

</div>

yml files are sensitive about tabs and spaces.  
so could you format your code using ``` ? something like :

```auto
or:
  - equals:
      http.response.code: 304
  - equals:
      http.response.code: 404

```

---

<div class="post-metadata">

**Author:** ![angeloli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/angeloli/32/75645_2.png) [@angeloli](https://discuss.elastic.co/u/angeloli)\
**Post date:** [September 17, 2020, 9:34am UTC](https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761/3 "2020-09-17T09:34:53Z")

</div>

thanks for your reply,  
if i don't want to receive all kibana or filebeat messages, how should i do that ?  
the filebeat and kibana just the tools, i think, i do not need their log.

---

<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:** [October 15, 2020, 11:35am UTC](https://discuss.elastic.co/t/filebeat-yml-drop-event-not-working/248761/4 "2020-10-15T11:35:00Z")

</div>

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