Kibana is a great tool, with corporate-level user management, to visualize data from the Elasticsearch stack. Given the highly customizeable user roles, it’s easy to run into errors that appear to be gibberish. Here’s an example:
Error in Visualization
Cannot read property ‘x’ of undefined
It seems to not make a lot of sense. However, it does. The problem is that some widgets are trying to access data that is unavailable to the user that’s trying to load the dashboard.
The solution is rather trivial: if you want users to properly access a particular dashboard, you should give them also give them proper access to the underlying indices.
This can be done by an administrator or superuser in the menu:
- Management
- Roles (Security)
- + Create Role (or edit a role)
- Indices (Elasticsearch)
- Select the appropriate indices
Once the user has access to the needed indices, he will be able to load the right visualizations. Logging out is not even necessary.
Great success!
Your article helped me a lot, is there any more related content? Thanks!