syslog.conf input { syslog { type => "system-syslog" host => "0.0.0.0" port => "514" }}output { stdout {codec => "json" codec => "rubydebug" } }运行命令 ./logstash -f ../config/conf/syslog.conf