# Logstash input plugin

**URL:** <https://discuss.elastic.co/t/logstash-input-plugin/273574>\
**Category:** Logstash\
**Created:** [May 20, 2021, 6:29pm UTC](https://discuss.elastic.co/t/logstash-input-plugin/273574 "2021-05-20T18:29:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hsalim](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@hsalim](https://discuss.elastic.co/u/hsalim)\
**Post date:** [May 20, 2021, 6:29pm UTC](https://discuss.elastic.co/t/logstash-input-plugin/273574/1 "2021-05-20T18:29:56Z")

</div>

Has anyone experienced a behavior where logstash is not discovering new files and incorrectly marking new discovery as false?

```auto
[2021-05-20T18:20:02,794][TRACE][filewatch.discoverer] discover_files {"count"=>2254}
[2021-05-20T18:20:02,794][TRACE][filewatch.discoverer] discover_files handling: {"new discovery"=>false, "watched_file details"=>"<FileWatch::WatchedFile: @filename='202010260420-332388-subset.txt.gz', @state='ignored', @recent_states='[:watched, :watched]', @bytes_read='354', @bytes_unread='0', current_size='351', last_stat_size='351', file_open?='false', @initial=false, @sincedb_key='67116587 0 2058'>"}

```

---

<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:** [June 17, 2021, 6:30pm UTC](https://discuss.elastic.co/t/logstash-input-plugin/273574/2 "2021-06-17T18:30:50Z")

</div>

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