Dashboards & Visualizations

How can I get the "number of times a dashboard was loaded in X days" and "last time loaded" metadata for a view?

daniel333
Builder

Our Splunk install is fast closing in on 4 years old. Predating me for a good 2-3 years of use. Its got near 400 dashboards and I have no idea which ones are used and which ones are not.

Any idea on how I can get a "number of time this view was loaded in X days" and"last time loaded" meta data about a view/savedsearch etc?

Tags (4)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

This should get you started:

index=_internal sourcetype=splunkd_ui_access uri="/en-US/app/*/*" | stats latest(_time) as _time count dc(user) by uri_path

One caveat: By default, _internal is kept around for only 30 days. If that's the case for your environment then no data for some view means "not used in 30 days or more".

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...