Retrieving the current session info in kibana plugin

(Yu Watanabe) #1


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?

(Felix Stürmer) #2

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.

(Yu Watanabe) #3


Thanks for the reply.

I will check it out.

(system) #4

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