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!

Meet Duke Cyberwalker | A hero’s journey with Splunk

We like to say, the lightsaber is to Luke as Splunk is to Duke. Curious yet? Then read Eric Fusilero’s latest ...

The Future of Splunk Search is Here - See What’s New!

We’re excited to introduce two powerful new search features, now generally available for Splunk Cloud Platform ...

Splunk is Nurturing Tomorrow’s Cybersecurity Leaders Today

Meet Carol Wright. She leads the Splunk Academic Alliance program at Splunk. The Splunk Academic Alliance ...