# How to drop multiple message names using filebeat

**URL:** <https://discuss.elastic.co/t/how-to-drop-multiple-message-names-using-filebeat/165551>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 24, 2019, 8:18am UTC](https://discuss.elastic.co/t/how-to-drop-multiple-message-names-using-filebeat/165551 "2019-01-24T08:18:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [January 24, 2019, 9:57am UTC](https://discuss.elastic.co/t/how-to-drop-multiple-message-names-using-filebeat/165551/2 "2019-01-24T09:57:44Z")

</div>

Hello @balamelangi,

Use this to exclude lines

exclude\_lines: ['_AbstractLoggingWriter_']

> [@Filebeat exclude line not working frowning](https://discuss.elastic.co/t/filebeat-exclude-line-not-working/113358/3):
>
> @robscott27 You are awesome!!!!! I followed your example for the nginx config file at /usr/share/filebeat/module/nginx/access/config/nginx-access.yml Added this last line to the bottom type: log paths: {{ range $i, $path := .paths }} - {{$path}} {{ end }} exclude\_files: [".gz$"] exclude\_lines: ['.\*feedback.\*'] And now it works as expected!!!! Thank you so much!! Wish I would have found that post earlier! Have been beating my head against the wall for days.

Hope this works for you

Regards  
Shrikant

---

_[View the full topic](https://discuss.elastic.co/t/how-to-drop-multiple-message-names-using-filebeat/165551)._
