I have installed the app whoami. when I use it as a command from splunkweb search, it works as expected.
But when I want to use this command inside a python script which is invoked from splunkweb search (as an automated external lookup), this returns no search_user field. Moreover, if there is any CLI session on the linux server, the whoami command is returning that user than that of the splunkweb user.
Please suggest if there is any way to let whoami know to exclusively retun only the splunkweb user.
... View more