# Logstash on Windows: Slow startup time

**URL:** <https://discuss.elastic.co/t/logstash-on-windows-slow-startup-time/147531>\
**Category:** Logstash\
**Created:** [September 6, 2018, 8:42am UTC](https://discuss.elastic.co/t/logstash-on-windows-slow-startup-time/147531 "2018-09-06T08:42:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karunakaran](https://avatars.discourse-cdn.com/v4/letter/k/977dab/32.png) [@Karunakaran](https://discuss.elastic.co/u/Karunakaran)\
**Post date:** [September 6, 2018, 8:42am UTC](https://discuss.elastic.co/t/logstash-on-windows-slow-startup-time/147531/1 "2018-09-06T08:42:41Z")

</div>

**The problem:**  
When I start Logstash from the command line on my Windows machine, it takes 3 minutes to show me the first message ("Sending Logstash logs to /logstash-6.4.0/logs..."). And it takes further 2 minutes to start ingesting a static file that is already present.

**The setup:**

1. I have the pipelines.yml fully commented out. (I couldn't get Logstash to read the file, which is probably another topic.)
2. I have a single pipeline defined in logstash.yml, pointing to a config file that is setup to process just one static log file.
3. I'm running Logstash 6.4 on a Windows 8.1 machine (8GB, 2-core @2.6GHz). I don't see any CPU or memory spikes during this entire time.

All my searches on how to reduce the startup time take me to UNIX-based discussions, focusing on /dev/urandom and the like. I'm not sure if there is an equivalent in Windows for this, and if yes, how to implement it.

How do I figure out what is taking so much time, and what can I do reduce these times?

---

<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:** [October 4, 2018, 8:42am UTC](https://discuss.elastic.co/t/logstash-on-windows-slow-startup-time/147531/2 "2018-10-04T08:42:44Z")

</div>

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