# MS Windows Logstash 5.x bootstrap window unable to terminate

**URL:** <https://discuss.elastic.co/t/ms-windows-logstash-5-x-bootstrap-window-unable-to-terminate/109820>\
**Category:** Logstash\
**Created:** [November 30, 2017, 7:06pm UTC](https://discuss.elastic.co/t/ms-windows-logstash-5-x-bootstrap-window-unable-to-terminate/109820 "2017-11-30T19:06:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cchamberlain](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@cchamberlain](https://discuss.elastic.co/u/cchamberlain)\
**Post date:** [November 30, 2017, 7:06pm UTC](https://discuss.elastic.co/t/ms-windows-logstash-5-x-bootstrap-window-unable-to-terminate/109820/1 "2017-11-30T19:06:12Z")

</div>

Hi,  
In WIndows Powershell I run a file with elasticsearch input and output plugins

\*_Set-Location E:\*_  
**E:\logstash-5.4.0\bin\logstash -f "E:\mylogstash\ConfigFiles\FILE.config" -l "E:\mylogstash\logs\prodcopy" --path.data="E:\mylogstash\project\PROJECT\prodcopy" --log.level info**

The cmd.exe file opens and executes. However, it does not terminate . The -r reload switch is not used.  
Size and scroll does not matter.  
THe stdout { codec =\> dots } #Progress tracking by dots is used  
The only way the file terminates is if I place a timeout command, and a Stop-Process Java command to kill any Java processed.

**TIMEOUT / T 60**  
\*\*Clear-Host \*\*  
**Stop-Process -name java**  
**exit**

Are there any methods to automate the process ending?

Thank you.

---

<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:** [December 28, 2017, 7:06pm UTC](https://discuss.elastic.co/t/ms-windows-logstash-5-x-bootstrap-window-unable-to-terminate/109820/2 "2017-12-28T19:06:19Z")

</div>

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