# Multiple logstash instance need to run on window 10

**URL:** https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198
**Category:** Logstash
**Created:** [January 8, 2020, 9:34am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198 "2020-01-08T09:34:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Pramod\_Thakur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pramod_thakur/32/48428_2.png) [@Pramod\_Thakur](https://discuss.elastic.co/u/Pramod_Thakur)
#### Post date: [January 8, 2020, 9:34am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198/1 "2020-01-08T09:34:42Z")

</div>

Hi Folks,

On my local machine logstash is working fine when I am running only one logstash pipeline, but when I am trying to run second logstash pipeline (config file) it says that

> Logstash could not be started because there is already another instance using the configured data directory. If you wish to run multiple instances, you must change the "path.data" setting.

but I don't know what I need to make change

OS: window 10 enterprise  
Logstash:

Thanks

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 8, 2020, 2:44pm UTC](https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198/2 "2020-01-08T14:44:53Z")

</div>

> [@Pramod\_Thakur](#):
>
> I don't know what I need to make change

You need to change the path.data setting to a different directory. You could do that on the command line using --path.data

---

<div class="post-metadata">

### Author: ![ITIC](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@ITIC](https://discuss.elastic.co/u/ITIC)
#### Post date: [January 9, 2020, 6:59am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198/3 "2020-01-09T06:59:31Z")

</div>

Hi

You could try and configure several pipelines on your `pipelines.yml`, each with its own `path.config`, and have just one `logstash` instance running.

Hope this helps

---

<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: [February 6, 2020, 6:59am UTC](https://discuss.elastic.co/t/multiple-logstash-instance-need-to-run-on-window-10/214198/4 "2020-02-06T06:59:39Z")

</div>

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