# Exclude\_lines are not working in my filebeat

**URL:** <https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 23, 2019, 6:23am UTC](https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344 "2019-01-23T06:23:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![balamelangi](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@balamelangi](https://discuss.elastic.co/u/balamelangi)\
**Post date:** [January 23, 2019, 6:23am UTC](https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344/1 "2019-01-23T06:23:13Z")

</div>

Hi ,  
My filebeat.yml file is

```
filebeat.prospectors:

input_type: log
paths:
    /u04/jboss/standalone/log/server.log
    /var/log/soapradius.log
    /var/log/radius.log
    exclude_lines: ['^.AbstractLoggingWriter.write..$']

```

even I try to exclude\_lines: ['^._AbstractLoggingWriter._`]

My actual log is  
2019-01-23 06:16:37,753 ERROR stderr org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71) - URI: urn:pronto.ver600  
2019-01-23 06:16:37,754 ERROR stderr org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71) - In TemplateProvider.invoke()  
2019-01-23 06:17:03,739 ERROR stderr org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71) - DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider  
2019-01-23 06:16:37,753 ERROR stderr org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71) - DD.ServiceClass: org.apache.soap.providers.StatelessEJBProvider  
2019-01-23 06:17:03,739 ERROR stderr org.jboss.stdio.AbstractLoggingWriter.write(AbstractLoggingWriter.java:71) -

Everything working fine.But I'm unable to exclude above lines.Please some one help me how to exclude lines like **AbstractLoggingWriter.write(AbstractLoggingWriter.java:71)**.  
or Is there another way to fix from filebeat.yml?

---

<div class="post-metadata">

**Author:** ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)\
**Post date:** [January 23, 2019, 12:16pm UTC](https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344/2 "2019-01-23T12:16:03Z")

</div>

Is this a duplicate of: [Unable to exclude\_lines in filebeat](https://discuss.elastic.co/t/unable-to-exclude-lines-in-filebeat/165215/18) ?

---

<div class="post-metadata">

**Author:** ![balamelangi](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@balamelangi](https://discuss.elastic.co/u/balamelangi)\
**Post date:** [January 23, 2019, 12:27pm UTC](https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344/3 "2019-01-23T12:27:22Z")

</div>

yes.

---

<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:** [February 20, 2019, 12:27pm UTC](https://discuss.elastic.co/t/exclude-lines-are-not-working-in-my-filebeat/165344/4 "2019-02-20T12:27:23Z")

</div>

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