
我是 ELK 新手,最近在 Windows Server 2008 和 Windows 7 電腦上安裝了 ELK。
但是,如果我打開 Kibana,在這兩個地方都會收到訊息:“無法獲取映射。您有與模式匹配的索引嗎?”
我的logstash設定檔看起來像
input {
file {
type => "AppLog"
path => "D:/LogFiles"
}
}
filter {
mutate {
add_field => [ "hostip", "%{host}" ]
}
dns {
reverse => [ "host" ]
action => replace
}
}
output {
elasticsearch {
host => "localhost"
protocol => "http"
codec => rubydebug
}
}
該網址返回「{」錯誤「:」IndexMissingException [[logstash-] 缺失]","狀態":404}" http://localhost:5601/elasticsearch/logstash-/_mapping/field/*?ignore_unavailable=false&allow_no_indices=false&include_defaults=true
有人可以幫我嗎?