Dashboards & Visualizations

Is there a way to count the number of dashboard views per day or per hour for a particular dashboard?

lbogle
Contributor

Hello Splunkers,

Just checking to see if there is a way to count the number views per day or per hour for a particular dashboard. I am trying to track the amount of use or visibility each dashboard has in the enterprise.

Thanks!

Tags (3)
1 Solution

adityapavan18
Contributor

You can use the data from splunkd_access.log and get those metrics

source="*splunkd_access.log" "*/ui/views/*" | rex "\/ui\/views\/(?.*?)\?" | stats count by dashboard

View solution in original post

ppablo
Retired

Hi @lbogle

Just wanted to follow up with this post. Did @adityapavan18's answer below answer your question? If yes, please be sure to accept correct answers on your posts to resolve them so it's helpful for other users looking for the same solutions. Thanks!

0 Karma

adityapavan18
Contributor

You can use the data from splunkd_access.log and get those metrics

source="*splunkd_access.log" "*/ui/views/*" | rex "\/ui\/views\/(?.*?)\?" | stats count by dashboard

behlkush
Path Finder

Would be wise to add
index="_internal"

Also, this search returns both GET and POST events for all dashboards. In my opinion you should only count POST events for dashboards.

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...