Logstash 数据直接发送到 es 后,index 对应的 path 不正确

如下面这样,我配置的处理规则为:
input {
file {
path => "/data/logs/entry_view_storage_api/entry_view_storage_api.juejin.im.public.access.log"
}
}
filter {
grok {
match => {"message" => "%{COMMONAPACHELOG}"}
}
mutate {
remove_field => ["message"]
}
}
output {
elasticsearch {
hosts => "192.168.0.178:9200"
index => "42entryviewstg-%{+YYYY.MM.dd}"
}
}

可是在 kibana 界面呈现的时候,path 变成了另外一个路径地址而且还不止一个:

请求帮助,怎么解决

This is an English-speaking group. There's a Chinese-language group available.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.