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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...