我想配置logstash 6.3.0
从我gzip压缩日志文件阅读,我不能够得到mode => "read"
作为documentation
日志表明不支持mode
设置。任何建议表示赞赏。谢谢。
我的logstash配置:
input {
file {
path => "/tmp/logs/application.log.*.gz"
type => "application"
mode => "read"
codec => multiline {
pattern => "^(?<time>%{MONTHDAY} %{MONTH} %{YEAR} %{HOUR}:%{MINUTE}:%{SECOND}) (\e\[[\d;]+m)?\[(?<logLevel>[A-Z]+)\]"
negate => true
what => "previous"
multiline_tag => "multi_tagged"
}
}
...
}
日志消息:
[ERROR][logstash.inputs.file ] Unknown setting 'mode' for file