将Logstash输出格式化为纯文本模式

时间:2016-02-18 03:39:25

标签: logstash

我希望Logstash输出到Papertrail日志服务,如何将logstash输出转换为此纯文本模式? :

<22>1 2014-06-18T09:56:21Z sendername programname - - - the log message

1 个答案:

答案 0 :(得分:0)

好吧我用logstash-output-syslog插件找出了它:

output {
  syslog {
    host => ...
    port => ...
    protocol => "tcp"
    codec => "plain"
    facility => "user-level"
    severity => "notice"
    rfc => "rfc5424"
  }
}