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!

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...