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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...