How work many output jdbc at same time?

hi all,

my pipelines.yml

- 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

input {
  jdbc {}
}

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

startup.options

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?

that is my mistake
logstash -e options is single pipeline mode
when i change command “logstash --path.settings”, all conf was work.

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