Dashboards & Visualizations

Is there a way to find out which dashboards across all applications aren't being used through Splunk?

idp
Loves-to-Learn

Hello,

I need to find out which dashboards across all applications aren't being used. Is there a way to do this through Splunk?

Thanks.

Labels (2)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you could try something like this

| rest /servicesNS/-/-/data/ui/views splunk_server=<your SH server e.g. local> 
| search isDashboard=1 
| fields title eai:acl.app 
| join type=left title 
    [| search index=_internal sourcetype=splunk_web_access host=* user=* 
    | rex field=uri_path ".*/(?<title>[^/]*)$" 
    | stats latest(_time) as _time by title
        ] 
| where isnull(_time)

r. Ismo 

0 Karma

idp
Loves-to-Learn

Hello, this returned all the dashboards within my environment. Any way to maybe add the # of user visits?

0 Karma

isoutamo
SplunkTrust
SplunkTrust

That subsearch find the last access times for those dashboards. If there is no access, then it shows that dashboard (last where is null). If you want all then remove that “where” and keep _time to see last access time.

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Of course if your retention for *access.logs are too low then this query didn’t found those entries and show more than expected.

0 Karma
Get Updates on the Splunk Community!

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...