Splunk Search

Do we have any search query which tells dashboards not being used since more than 30 days?

manishmittal12
Explorer

We are looking for some stats which tell dashboards name that are not being used since last 30 days for some clean up. as dashboards are piled upto more than 300-400.

Tags (2)

Azeemering
Builder

Try:

index=_internal sourcetype=splunkd_ui_access method=post ui/views
  | table user, req_time, file 
  | rename file as dashboard req_time as editTime

or

index=_internal user!="-"  sourcetype=splunkd_ui_access "en-US/app"  | rex field=referer "en-US/app/(?<app>[^/]+)/(?<dashboard>[^?/\s]+)" | search  dashboard!="job_management" dashboard!="dbinfo" dashboard!="*en-US" dashboard!="search" dashboard!="home" dashboard!="alerts" dashboard!="dashboards" dashboard!="reports" dashboard!="report" | bucket _time span=1d | stats dc(dashboard) as c by dashboard user _time
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...