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
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...