# Re-running /opt/logstash/bin/logstash with same conf file does not produce output

**URL:** <https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791>\
**Category:** Logstash\
**Created:** [June 23, 2016, 3:17pm UTC](https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791 "2016-06-23T15:17:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZillaG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zillag/32/10505_2.png) [@ZillaG](https://discuss.elastic.co/u/ZillaG)\
**Post date:** [June 23, 2016, 3:17pm UTC](https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791/1 "2016-06-23T15:17:04Z")

</div>

Using logstash v2.3.2

I have a \*.conf file that I use for this command

`/opt/logstash/bin/logstash -f /path/mylogstash.conf`

I was able to run this yesterday and was able to produce my desired mylogstash.json output file. I then logged out of the logstash server, and went home for the day.

Today, I logged back in the logstash server, deleted my mylogstash.json output file, and the ~/.sincedb\* file. I then re-ran the above command, but did NOT get an output file.

What would cause this, that is, logstash producing an output JSON file one day, and not the next day, using the same \*.conf file?

Thanks

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 29, 2016, 8:09pm UTC](https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791/2 "2016-06-29T20:09:15Z")

</div>

Perhaps the input file is older than 24 hours and you didn't set the file input's `ignore_older` option to accommodate that?

---

<div class="post-metadata">

**Author:** ![ZillaG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zillag/32/10505_2.png) [@ZillaG](https://discuss.elastic.co/u/ZillaG)\
**Post date:** [June 30, 2016, 4:26pm UTC](https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791/3 "2016-06-30T16:26:36Z")

</div>

@magnusbaeck thanks! Just for testing, I set it to ignore\_older =\> 0 and was able to read the file. I also did set sincedb\_path =\> "/dev/null"

---

<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:** [July 6, 2017, 4:50am UTC](https://discuss.elastic.co/t/re-running-opt-logstash-bin-logstash-with-same-conf-file-does-not-produce-output/53791/4 "2017-07-06T04:50:06Z")

</div>


