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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...