my file index pattern is created on elasticsearch.
but wen i m trying to create a new index pattern in kibana.this is the output:
Unable to fetch mapping. Do you have indices matching the pattern?
i performed a search query on filebeat index using kibana console which gave this output.
Query:
GET /filebeat-6.0.0-2017.11.25/_search
{
"query" : {
"match_all" : {}
}
}
output:
{
"error": {
"root_cause": [
{
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [kibana]"
}
],
"type": "security_exception",
"reason": "action [indices:data/read/search] is unauthorized for user [kibana]"
},
"status": 403
}
Finally I understand whats going on. You're logging into Kibana as the kibana user. This is an internal user that is not meant to be used. Please log out of Kibana and use the elastic user. The default password is changeme if you're using the docker environment.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.