# AutoRun multiple config file from nssm in windows

**URL:** <https://discuss.elastic.co/t/autorun-multiple-config-file-from-nssm-in-windows/318099>\
**Category:** Logstash\
**Created:** [November 3, 2022, 10:51am UTC](https://discuss.elastic.co/t/autorun-multiple-config-file-from-nssm-in-windows/318099 "2022-11-03T10:51:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakhshunda\_Noorein\_J](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rakhshunda_noorein_j/32/99407_2.png) [@Rakhshunda\_Noorein\_J](https://discuss.elastic.co/u/Rakhshunda_Noorein_J)\
**Post date:** [November 3, 2022, 10:51am UTC](https://discuss.elastic.co/t/autorun-multiple-config-file-from-nssm-in-windows/318099/1 "2022-11-03T10:51:36Z")

</div>

Hello,  
I am using nssm to autostart my logstash configs when the system starts.

what i have done is, download nssm -\> nssm install logstash -\> added logstash application paths and arguments -\> start the service. It is working properly.

But I want to autorun many config files. How I will configure it???

```auto
path: C:\logstash-8.4.2\bin\logstash.bat
startup-directory: C:\logstash-8.4.2\bin
Arrguments: -f C:\logstash-8.4.2\Logstash_http_Poller_SE.conf

```

---

<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 1, 2022, 10:52am UTC](https://discuss.elastic.co/t/autorun-multiple-config-file-from-nssm-in-windows/318099/2 "2022-12-01T10:52:28Z")

</div>

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