# Windows logstash Reload of .conf file

**URL:** <https://discuss.elastic.co/t/windows-logstash-reload-of-conf-file/68519>\
**Category:** Logstash\
**Created:** [December 9, 2016, 7:03am UTC](https://discuss.elastic.co/t/windows-logstash-reload-of-conf-file/68519 "2016-12-09T07:03:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gauravkb](https://avatars.discourse-cdn.com/v4/letter/g/a4c791/32.png) [@gauravkb](https://discuss.elastic.co/u/gauravkb)\
**Post date:** [December 9, 2016, 7:03am UTC](https://discuss.elastic.co/t/windows-logstash-reload-of-conf-file/68519/1 "2016-12-09T07:03:36Z")

</div>

In linux logstash can read all configuration files under the /etc/logstash/conf.d/ directory automatically.  
but there is no such option available in windows, how do i reload the configuration file in windows automatically.

I'm running logstash 5.0.1

---

<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:** [December 9, 2016, 7:11am UTC](https://discuss.elastic.co/t/windows-logstash-reload-of-conf-file/68519/2 "2016-12-09T07:11:50Z")

</div>

> In linux logstash can read all configuration files under the /etc/logstash/conf.d/ directory automatically.  
> but there is no such option available in windows,

Logstash should be able to load all configuration files in a directory on both Linux and Windows.

> how do i reload the configuration file in windows automatically.

The `-r` option isn't available when run under Windows? Or it's available but doesn't work?

---

<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:** [January 6, 2017, 7:11am UTC](https://discuss.elastic.co/t/windows-logstash-reload-of-conf-file/68519/3 "2017-01-06T07:11:56Z")

</div>

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