I'm trying to develop a kibana's plugin.
My goal is that every time a user access a dashboard, the kibana's server log a users credential (username only) and the dashboard name.
I have an idea of what to make server-side but I don't have any as to how I could get the user credential and the dashboard name from the front.
I'm having trouble finding if I should use any uiExports (like hacks one) even though I will not have any UI related code.
If anyone have an idea of where should I be looking for I'll be grateful