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 Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...

Join Us at the Builder Bar at .conf24 – Empowering Innovation and Collaboration

What is the Builder Bar? The Builder Bar is more than just a place; it's a hub of creativity, collaboration, ...

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...