# What regex to use to exclude 30s status messages

**URL:** <https://discuss.elastic.co/t/what-regex-to-use-to-exclude-30s-status-messages/262219>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 26, 2021, 10:46am UTC](https://discuss.elastic.co/t/what-regex-to-use-to-exclude-30s-status-messages/262219 "2021-01-26T10:46:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Boos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_boos/32/72670_2.png) [@Peter\_Boos](https://discuss.elastic.co/u/Peter_Boos)\
**Post date:** [January 26, 2021, 10:46am UTC](https://discuss.elastic.co/t/what-regex-to-use-to-exclude-30s-status-messages/262219/1 "2021-01-26T10:46:33Z")

</div>

What should be the working regex to exclude the 30s filebeat status updates  
The 30s status starts with, (but are quite a bit longer) :

```auto
2021-01-26T05:29:10.562-0500#011INFO#011[monitoring]#011log/log.go:145#011Non-zero metrics

```

I tried to no succes several regex patterns

```auto
exclude_lines: [`.*log/log\.go:145#011Non-zero metrics.*`] 

```

---

<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 23, 2021, 12:46pm UTC](https://discuss.elastic.co/t/what-regex-to-use-to-exclude-30s-status-messages/262219/2 "2021-02-23T12:46:35Z")

</div>

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