# Pipeline yaml file cannot run multiple conf

**URL:** <https://discuss.elastic.co/t/pipeline-yaml-file-cannot-run-multiple-conf/139419>\
**Category:** Logstash\
**Created:** [July 10, 2018, 7:02pm UTC](https://discuss.elastic.co/t/pipeline-yaml-file-cannot-run-multiple-conf/139419 "2018-07-10T19:02:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukesh\_nagaraja](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@sukesh\_nagaraja](https://discuss.elastic.co/u/sukesh_nagaraja)\
**Post date:** [July 10, 2018, 7:02pm UTC](https://discuss.elastic.co/t/pipeline-yaml-file-cannot-run-multiple-conf/139419/1 "2018-07-10T19:02:28Z")

</div>

```
  Error : 
   [2018-07-10T14:50:49,640][FATAL][logstash.runner] 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.
   [2018-07-10T14:50:49,644][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

```

my pipeline is as below:

```
  - pipeline.id: hdfs
    path.config: "/etc/logstash/conf.d/pipeline_hdfs.cfg"
  - pipeline.id: elastic
    path.config: "/etc/logstash/conf.d/pipeline_elastic.cfg"
 - pipeline.id: file
   path.config: "/etc/logstash/conf.d/pipeline_file.cfg"

 if i use only one conf as below in a pipeline it works but not for multiples
 - pipeline.id: file
   path.config: "/etc/logstash/conf.d/pipeline_file.cfg"

 what would be the workaround for this? where can i mention path.data for multiple configs , i am running pipeline, if am running only logstash conf then i can mention in command line but i want to run in pipeline?
```

---

<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:** [August 7, 2018, 7:02pm UTC](https://discuss.elastic.co/t/pipeline-yaml-file-cannot-run-multiple-conf/139419/2 "2018-08-07T19:02:33Z")

</div>

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