Failed to load data sources in Kibana

Hi Team,

My ELK stack running with below details

3 ES nodes
1 Logstash node
1 Kibana node

Version using : 7.5.1

I am getting the error "failed to load data sources" while loading the logs/metrics in Kibana UI.

Error: GraphQL error: [object Object]: [security_exception] action [indices:data/read/field_caps] is unauthorized for user [test]

Any help is appreciated

Regards
Ladeesh

@ladeesh, I think the error message probably contains everything you need:

 [object Object]: [security_exception] action [indices:data/read/field_caps] is unauthorized for user [test]

You need to grant your test user the ability to access that index, otherwise you won't be able to read from those data sources