Dashboards & Visualizations

How to check the number of users who visited the Dashboard

Keerthi
Path Finder
 
Labels (1)
0 Karma

emdaax
Explorer

Hi @Keerthi,

If you have a dashboard named "Your_Dashboard_Name", you can use the following query to see who visited it:

index=_internal sourcetype=splunkd_ui_access namespace=* user="*" search="*action*view*Your_Dashboard_Name*"

 

For special fields, you may need to create your own regex to extract the required information.

P.S.: Karma points are always appreciated 😉

0 Karma

Keerthi
Path Finder

Keerthi_0-1717611773517.png


its not working 😞

 

0 Karma

emdaax
Explorer

you have whitespaces in your query:

try to use: 

  • <base_query....>      search="*action*view*User_Management_Hourra*"     OR
  • <base_query....>      search="*action*view*Hourra*"

 

best regards,


P.S.
another question: do you have admin permissions and can access the _internal index ?

index=_internal sourcetype=splunkd earliest=-1m
0 Karma

Keerthi
Path Finder

i wrote this code but no luck


index=_internal sourcetype=splunkd_ui_access
| rex field=uri_path "app/(?<app>[^/]+)/(?<dashboard>[^/]+)"
| search app="dashboards" dashboard="User_Management_Hourra"
| stats dc(user) as unique_users
0 Karma

kiran_panchavat
SplunkTrust
SplunkTrust

@Keerthi Hello Keerthi, Please refer the below link. 

https://community.splunk.com/t5/Dashboards-Visualizations/How-to-check-the-number-of-users-who-visit... 

https://splunkonbigdata.com/how-to-create-splunk-user-analysis-and-monitoring-dashboard/ 

Did this help? If yes, please consider giving kudos, marking it as the solution, or commenting for clarification — your feedback keeps the community going!
0 Karma

Keerthi
Path Finder

hi kiran,

appreciate for the quick reply.

with the first link i tried the 1st query as he mentioned but no search results.

with the second link you shared me i could only see (screenshot for reference)

how do i query it for particular dashboard i am looking for?

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...