Hi All
I'm trying to build logstash on docker with multiple pipelines.
After reading a lot over the internet and trying things, still can't start multiple pipelines on docker.
I'm trying to run some basic configuration in order to ensure that the mechanism is working , I see that logstash is running , but can't see multiple piplines are working
pipelines.yml looks like this :
- pipeline.id: A11111111
config.string: |
input {
generator {
lines => [
"line 1",
"line 2",
"line 3"
]
count => 1
}
}
output {
stdout{id => "stdout_plugin111"}
}
- pipeline.id: B22222222
config.string: |
input {
generator {
lines => [
"line 4",
"line 5",
"line 6"
]
count => 1
}
}
output {
stdout{id => "stdout_plugin222"}
}
starting docker from cmd:
> docker run --rm -it -v /c/logstash/:/usr/share/logstash/pipelines docker.elastic.co/logstash/logstash:7.8.0
when in "c:\logstash" directory, pipelines.yml file located.
Output looks like this
Thanks in advance for your help.
