# How work many output jdbc at same time?

**URL:** <https://discuss.elastic.co/t/how-work-many-output-jdbc-at-same-time/337746>\
**Category:** Logstash\
**Created:** [July 6, 2023, 4:39am UTC](https://discuss.elastic.co/t/how-work-many-output-jdbc-at-same-time/337746 "2023-07-06T04:39:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![inbeom\_cho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inbeom_cho/32/123115_2.png) [@inbeom\_cho](https://discuss.elastic.co/u/inbeom_cho)\
**Post date:** [July 6, 2023, 4:39am UTC](https://discuss.elastic.co/t/how-work-many-output-jdbc-at-same-time/337746/1 "2023-07-06T04:39:48Z")

</div>

hi all,

my pipelines.yml

```auto
- pipeline.id: test1
  pipeline.workers: 1
  path.config: "/app/logstash/config/conf.d/test1.conf"
- pipeline.id: test2
  pipeline.workers: 1
  path.config: "/app/logstash/config/conf.d/test2.conf"
- pipeline.id: test3
  pipeline.workers: 1
  path.config: "/app/logstash/config/conf.d/test3.conf"

```

test1.conf, test2.conf, test3.conf

```auto
input {
  jdbc {}
}

output {
  jdbc { ~~~ statement=>"insert"}
}

```

startup.options

```auto
LS_HOME=/app/logstash
LS_SETTINGS_DIR=/app/logstash/config
LS_OPTS="--path.settings ${LS_SETTINGS_DIR}"

```

when i run same schedule conf(test1~test3) logstash used bin/logstash -e, only work one pipeline.id .

how can i work same schedule conf at same time?

---

<div class="post-metadata">

**Author:** ![inbeom\_cho](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/inbeom_cho/32/123115_2.png) [@inbeom\_cho](https://discuss.elastic.co/u/inbeom_cho)\
**Post date:** [July 7, 2023, 12:10am UTC](https://discuss.elastic.co/t/how-work-many-output-jdbc-at-same-time/337746/2 "2023-07-07T00:10:47Z")

</div>

that is my mistake  
logstash -e options is single pipeline mode  
when i change command “logstash --path.settings”, all conf was 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:** [August 4, 2023, 12:10am UTC](https://discuss.elastic.co/t/how-work-many-output-jdbc-at-same-time/337746/3 "2023-08-04T00:10:56Z")

</div>

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