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!

New This Month in Splunk Observability Cloud - Metrics Usage Analytics, Enhanced K8s ...

The latest enhancements across the Splunk Observability portfolio deliver greater flexibility, better data and ...

Alerting Best Practices: How to Create Good Detectors

At their best, detectors and the alerts they trigger notify teams when applications aren’t performing as ...

Discover Powerful New Features in Splunk Cloud Platform: Enhanced Analytics, ...

Hey Splunky people! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2408. In this ...