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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...