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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...