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!

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...