Is there any Kibana API endpoint to get index pattern for the current login user or if there is an existing implementation for it?

I'm developing custom Kibana plugin and I want to get the current logged in user information from my plugin server. It would be great if any Kibana API endpoint is available to get such details.

Any updates?

The default index pattern is not configured per user, but per space. You can get it from the data plugin index patterns service:

const defaultIndexPattern = await data.indexPatterns.getDefault();

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.