Hi Guys,
I am new to Logstash. I want to make simple input and output plugin which will not change format of the message. I have done the config, but output plugin is not working:/
For the input plugin I have a separate file: input.conf
input {
tcp {
port => 5555
type => "master"
}
}
For the output plugin I have separate file: output.conf
output {
if [type] == "master" {
tcp {
host => "1.1.1.1"
port => 514
}
}
}
I am not seeing that logstash is sent the messages to 1.1.1.1. Can you help and provide the best troubleshooting. My idea is just to forward the same message to upstream device.
Thanks a lot