# Why I need to restart my logstash to add logs in index from my logfile?

**URL:** <https://discuss.elastic.co/t/why-i-need-to-restart-my-logstash-to-add-logs-in-index-from-my-logfile/146291>\
**Category:** Logstash\
**Created:** [August 28, 2018, 8:38am UTC](https://discuss.elastic.co/t/why-i-need-to-restart-my-logstash-to-add-logs-in-index-from-my-logfile/146291 "2018-08-28T08:38:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vyankatesh\_S\_Repal](https://avatars.discourse-cdn.com/v4/letter/v/c77e96/32.png) [@Vyankatesh\_S\_Repal](https://discuss.elastic.co/u/Vyankatesh_S_Repal)\
**Post date:** [August 28, 2018, 8:38am UTC](https://discuss.elastic.co/t/why-i-need-to-restart-my-logstash-to-add-logs-in-index-from-my-logfile/146291/1 "2018-08-28T08:38:50Z")

</div>

I am creating an application where I need to retrieve all logs from log file in particular index.  
I have installed logstash, kibana and elasticsearch (version 6.3.2) by [NSSM](https://nssm.cc/)  
Any time there is new log, I need to restart my logstash service from windows to see changes in index and kibana charts therefore. I can't find any error in logs of logstash.  
I am unable to find the reason, any idea on the same please?

---

<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:** [September 25, 2018, 8:38am UTC](https://discuss.elastic.co/t/why-i-need-to-restart-my-logstash-to-add-logs-in-index-from-my-logfile/146291/2 "2018-09-25T08:38:52Z")

</div>

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