# Logstash wildcards / regex not working

**URL:** https://discuss.elastic.co/t/logstash-wildcards-regex-not-working/164204
**Category:** Logstash
**Created:** [January 14, 2019, 10:28pm UTC](https://discuss.elastic.co/t/logstash-wildcards-regex-not-working/164204 "2019-01-14T22:28:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 14, 2019, 10:37pm UTC](https://discuss.elastic.co/t/logstash-wildcards-regex-not-working/164204/2 "2019-01-14T22:37:38Z")

</div>

Enable trace level logging. You will get a bunch of message that should tell you what it is doing. Stuff like

```auto
[2019-01-10T16:39:51,066][TRACE][filewatch.tailmode.handlers.createinitial] handle_specifically opened file handle: 85, path: foo.txt
[2019-01-10T16:39:51,093][TRACE][filewatch.tailmode.handlers.createinitial] add_new_value_sincedb_collection {"position"=>0, "watched_file details"=>"<FileWatch::Watched File: @filename='foo.txt', @state='active', @recent_states='[:watched, :watched]', @bytes_read='0', @bytes_unread='954', current_size='954', last_stat_size='954', file_open?='true', @initial=true, @sincedb_key='59521 0 51714'>"}
[2019-01-10T16:39:51,130][TRACE][filewatch.tailmode.processor] Active - file grew: foo.txt: new size is 954, bytes read 0

```

---

_[View the full topic](https://discuss.elastic.co/t/logstash-wildcards-regex-not-working/164204)._
