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!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...