# Logstash doesn't reads JSON file on Windows

**URL:** https://discuss.elastic.co/t/logstash-doesnt-reads-json-file-on-windows/341156
**Category:** Logstash
**Created:** [August 19, 2023, 4:00pm UTC](https://discuss.elastic.co/t/logstash-doesnt-reads-json-file-on-windows/341156 "2023-08-19T16:00:10Z")
**Posts on this page:** 1
**Showing post:** 4

<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: [August 19, 2023, 6:42pm UTC](https://discuss.elastic.co/t/logstash-doesnt-reads-json-file-on-windows/341156/4 "2023-08-19T18:42:52Z")

</div>

Try `sincedb_path => "NUL"`

If logstash successfully writes the contents of the file to elasticsearch then you should expect to see exactly what you get in the logstash log. It may be working.

You could try [setting](https://discuss.elastic.co/t/logstash-when-started-using-nohup-it-is-logging-too-much-resulting-in-huge-size/276560/2) TRACE level logging and see [what filewatch has to say](https://discuss.elastic.co/t/logstash-wildcards-regex-not-working/164204/2).

---

_[View the full topic](https://discuss.elastic.co/t/logstash-doesnt-reads-json-file-on-windows/341156)._
