hai all,
while searching splunk roles data using rest API | rest /services/authentication/users splunk_server=local
is there any way to create dashboard for to check current login users into splunk?
Thanks
Hi,
basic idea: get users from web access log and join against the rest endpoint to get the realname, email..
````get all users for last 15m from web_access log````
index=_internal sourcetype=splunk_web_access earliest=-15m@m
| stats count by user
````join users from rest endpoint````
| join type=left user
[| rest /services/authentication/users splunk_server=local
| table title
| rename title as user]
regards,
Andreas
Thanks
Hi,
basic idea: get users from web access log and join against the rest endpoint to get the realname, email..
````get all users for last 15m from web_access log````
index=_internal sourcetype=splunk_web_access earliest=-15m@m
| stats count by user
````join users from rest endpoint````
| join type=left user
[| rest /services/authentication/users splunk_server=local
| table title
| rename title as user]
regards,
Andreas