我希望Logstash输出到Papertrail日志服务,如何将logstash输出转换为此纯文本模式? :
<22>1 2014-06-18T09:56:21Z sendername programname - - - the log message
答案 0 :(得分:0)
好吧我用logstash-output-syslog
插件找出了它:
output {
syslog {
host => ...
port => ...
protocol => "tcp"
codec => "plain"
facility => "user-level"
severity => "notice"
rfc => "rfc5424"
}
}