This simple configuration file has an error. I tried everything I could think of to fix this. I have simplified this example. Ultimately, I would like to use several input files and send them to different ports on the output.
input {
file {
path => "/home/user/log/*"
type => "test1"
start_position => "beginning"
}
}
output {
syslog {
host => "server.com"
if [type] == "test1" {
port => 5555
}
severity => "informational"
facility => "syslogd"
}
}
Error:
Error: Expected one of
syslog {
host => "server.com"
if
logstash runs on ubuntu:
apt --installed list|grep logstash
logstash/stable,now 1.4.3-1-7e387fb all [installed]
source
share