I am trying to use Logstash-output-gelf plugin with TCP connection to graylog2. I use logstash version 5.4.2, Graylog 2.2
I have used the below output settings
output {
gelf{
host =>"127.0.0.1" // i have changed the ip address. The actual IP connects to a server on the network
port => 15205
}
According to the code change found on Github, You can see that the code expects a paramert @protocol, however when I pass protoco => "TCP" in the output, I get an error in the config file.
Can someone please explain to me what I am doing wrong here?
Thanks