【发布时间】:2015-02-16 16:45:15
【问题描述】:
我已经收到这个奇怪的错误有一段时间了:
错误:在第 2 行第 1 列(字节 2)之后,应为 #、输入、过滤器、输出之一
配置:
input {
stdin {}
udp {
type => "udp"
port => "5959"
}
file {
type => "syslog"
path => "/var/log/messages"
}
}
output {
elasticsearch {
host => localhost
}
}
命令:
bin/logstash -f logstash.conf
在此先感谢 :)
【问题讨论】: