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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[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 ...