Retrieving the current session info in kibana plugin

Hello.

I would like to ask question regarding to x-pack and kibana plugin integration.

If you log in to kibana via x-pack security , is it possible to retrieve the session information ( user name to be specific) inside kibana plugin ? Perhaps, is there a library for it?

Hi @YuWatanabe,

there is an api route /api/security/v1/me that returns an object containing various user information including the name. Please be aware that this API is not documented and might therefore change without notice in future versions.

@weltenwort

Thanks for the reply.

I will check it out.

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