Logstash version 6.6.1
Logstash command:
/usr/share/logstash/bin/logstash --config.reload.automatic --path.settings=/etc/logstash
I am attempting to handle multiple pipelines using the distributor pattern in my pipelines.yml. I am sending a log file from Filebeats (6.6.1), which works fine if I don't try to use the pipeline to pipeline. But if I use the send_to for the pipeline I keep receiving an error:
[2019-03-04T15:20:18,898][WARN ][org.logstash.plugins.pipeline.PipelineBus] Attempted to send event to '/etc/logstash/conf.d/Process.conf' but that address was unavailable. Maybe the destination pipeline is down or stopping? Will Retry.
I have attempted multiple iterations of the Process.conf syntax, I have done the full path, I have tried Process, and Process.conf, I have removed the brackets, I have tried the config.string with just the |, I have done the double quotes, single quotes, but all of them come back with the same error.
Here is my pipelines.yml file:
- pipeline.id: processlog
config.string: "
input {
beats {
port => 5044
}
}
output {
pipeline {
send_to => '/etc/logstash/conf.d/Process.conf'
}
}
"
Eventually I would like to use conditional statements, but I can't get logstash to process what I thought would be a simple pass through.
If I remove the "Output" section in my pipelines.yml and add the path.config then everything works without issue.
- pipeline.id: processlog
config.string: "
input {
beats {
port => 5044
}
}
"
path.config: "/etc/logstash/conf.d/Process.conf"
My end goal is to be able to only have one filebeat / winlogbeat service running on each of my servers and then to send different types of log files to be processed in different ways on my logstash server.
Do you have have any suggestions on where I might learn to resolve this, or possibly how to fix it?