Kibana 5 alpha 4 unable to fetch mapping


(Rohit Vs) #1

I am using Kibana5 alpha4 with xpack, Elasticsearch 5 alpha 4 with xpack and logstash 2.3.4 to setup a POC app.

I can see the below indexes in Elastic search
health status index pri rep docs.count docs.deleted store.size pri.store.size
yellow open books 5 1 2 0 11kb 11kb
yellow open .monitoring-es-2-2016.08.08 1 1 3629 90 1.6mb 1.6mb
yellow open .kibana 1 1 2 0 3.8kb 3.8kb
yellow open .monitoring-data-2 1 1 3 0 6.6kb 6.6kb
yellow open .monitoring-kibana-2-2016.08.08 1 1 220 0 139.9kb 139.9kb

However, when I search for books index in kibana , it says "Unable to fetch mapping. Do you have indices to match the pattern".
But it is able to find the .kibana index.

don't see any error in the logs either. Not sure what could be causing this. Any help will be appreciated.

Thnks,
Rohit


(Lee Drengenberg) #2

First you have to create an index pattern for "books" in the Management tab. Were you able to do that?

If it has one or more date fields in your books index it should show you those and you would select one.

If you don't have date fields you should uncheck Index contains time-based events and create your index pattern.

When you create it you should then see a table of the fields.

Oh, since you have x-pack installed, are you logging in as a superuser? This is easiest if you're just getting started or troubleshooting.

If not, then your user has to have kibana_user role PLUS a new role you create which has "read" and "view_index_metadata" on "books".

Lee


(system) #3