All Apps and Add-ons

User stats app?

sheltomt
Path Finder

I'm looking for an app that does something like Splunk Dashboard Monitoring. Simple page, has all sorts of user stats on it.

Has anyone found something like that?

Thank you!

Tags (1)
0 Karma
1 Solution

Azeemering
Builder

Not really, but I have made some own dashboards and queries using REST calls:

For example:
Total Users in Splunk---> |rest /servicesNS/-/-/authentication/users splunk_server=local|search NOT tittle=admin|stats count
Current Active User Session in Splunk--> | rest /servicesNS/-/-/authentication/httpauth-tokens splunk_server=local |search NOT userName="splunk-system-user" searchId=""|stats dc(userName) AS count

Splunk User Logon Trend - Daily --> index="_internal" sourcetype=splunkd_access NOT user=splunk-system-user NOT user="-" "/services/authentication/users/"|timechart span=1d count

Splunk USer count by role-->
|rest /servicesNS/-/-/authentication/users |search NOT tittle=admin|table title roles|mvexpand roles|stats dc(title) AS user_count by roles

View solution in original post

0 Karma

Azeemering
Builder

Not really, but I have made some own dashboards and queries using REST calls:

For example:
Total Users in Splunk---> |rest /servicesNS/-/-/authentication/users splunk_server=local|search NOT tittle=admin|stats count
Current Active User Session in Splunk--> | rest /servicesNS/-/-/authentication/httpauth-tokens splunk_server=local |search NOT userName="splunk-system-user" searchId=""|stats dc(userName) AS count

Splunk User Logon Trend - Daily --> index="_internal" sourcetype=splunkd_access NOT user=splunk-system-user NOT user="-" "/services/authentication/users/"|timechart span=1d count

Splunk USer count by role-->
|rest /servicesNS/-/-/authentication/users |search NOT tittle=admin|table title roles|mvexpand roles|stats dc(title) AS user_count by roles

0 Karma

sheltomt
Path Finder

Awesome! The Total Users and Current Active Users is exactly what I was looking for.

Thank you!

I need to dig more into the rest command, seems like many of my questions come back to that answer.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...