Splunk Data Stream Processor

Is there any way to create dashboard for to check current login users into splunk?

sekhar463
Path Finder

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

Labels (2)
0 Karma
1 Solution

schose
Builder

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 

View solution in original post

0 Karma

sekhar463
Path Finder

Thanks

0 Karma

schose
Builder

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 

0 Karma
Get Updates on the Splunk Community!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...