ShieldUser access in field formatters

I'm trying to write a new field formatter in Kibana 6.4.2, and in it I would like to use the username of the currently logged in user. I see that this can be done using the ShieldUser service, but I don't know how I can inject that dependency or get a handle of that service in the field formatter functions. Anyone have any ideas?

@timroes @Stacey_Gammon - can either of you shed some light here ?

Thanks
Rashmi

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