I am new to ELK and recently installed ELK on Windows Server 2008 and on Windows 7 machine.
But on both the places if I open Kibana I get the message: "Unable to fetch mapping. Do you have indices matching the pattern?"
My logstash confiuration file looks like
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
}
}
This URL returns "{"error":"IndexMissingException[[logstash-] missing]","status":404}" http://localhost:5601/elasticsearch/logstash-/_mapping/field/*?ignore_unavailable=false&allow_no_indices=false&include_defaults=true
Could anyone please help me?