# Logstash 7.4 File input exclude issue

**URL:** <https://discuss.elastic.co/t/logstash-7-4-file-input-exclude-issue/202043>\
**Category:** Logstash\
**Created:** [October 2, 2019, 7:59pm UTC](https://discuss.elastic.co/t/logstash-7-4-file-input-exclude-issue/202043 "2019-10-02T19:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frrrrrunkis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frrrrrunkis/32/42750_2.png) [@Frrrrrunkis](https://discuss.elastic.co/u/Frrrrrunkis)\
**Post date:** [October 2, 2019, 7:59pm UTC](https://discuss.elastic.co/t/logstash-7-4-file-input-exclude-issue/202043/1 "2019-10-02T19:59:35Z")

</div>

Upgraded from 7.1 to 7.4 and my logstash file input seemingly started ignoring the exclude.

In this pipeline I want all mule API logs but want to consume the server oriented logs separately. In my case im seeing mule\_ee.log entries when I am trying to ignore them.

```
input{
    file {
    	path => "/opt/mule/mule-enterprise-standalone-3.9.1/logs/*.log"
        exclude => ["performance-events*", "README", "gw-http-events*", "mule_ee*", "mule_agent*", "mule-app-default*", "mule-domain*"]
        start_position => beginning
    	sincedb_path => "/opt/logstash/since_db.file"
        codec => multiline {
        pattern => "^%{TIMESTAMP_ISO8601}"
    	negate => true
    	what => "previous"
    }
  }
}
filter{
}
output{
  kafka {
  }
}
```

---

<div class="post-metadata">

**Author:** ![lopez0](https://avatars.discourse-cdn.com/v4/letter/l/958977/32.png) [@lopez0](https://discuss.elastic.co/u/lopez0)\
**Post date:** [October 4, 2019, 5:02am UTC](https://discuss.elastic.co/t/logstash-7-4-file-input-exclude-issue/202043/3 "2019-10-04T05:02:01Z")

</div>

This will not works[.](https://www.talktowendys.website/)

---

<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:** [November 1, 2019, 5:02am UTC](https://discuss.elastic.co/t/logstash-7-4-file-input-exclude-issue/202043/4 "2019-11-01T05:02:03Z")

</div>

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