logstash 读取日志失败
input{file{
path=>"F:/test/localhost_access_log.2016-06-05.txt"
start_position => beginning
sincedb_path => "NUL"
}
}
filter {
grok {
match => [ "message", "%{COMMONAPACHELOG}" ]
}
kv {
source => "request"
field_split => "&?"
value_split => "="
}
urldecode {
all_fields => true
}
}
output{
stdout { codec => rubydebug }
} 配置文件如上
logstash启动之后如图:
报什么错呢,启动成功了不是?
页:
[1]