Splunk Enterprise Security

Index in Dashboards

mcohen13
Loves-to-Learn

is there a way to check for a specific index on which dashboards this index is used?

0 Karma

nareshinsvu
Builder

Give a try? - Replace "your index name" accordingly in your search

| union 
     [| rest splunk_server="local" "/servicesNS/-/-/data/ui/views" 
     | search "eai:data"="*index=<your index name>*" 
     | eval Type="Dashboards" 
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write] 
     [| rest splunk_server="local" "/servicesNS/-/-/saved/eventtypes" 
     | search search="*index=<your index name>*"
     | eval Type="Eventtypes"
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write]
     [| rest splunk_server="local" "/servicesNS/-/-/data/ui/panels"
     | search "eai:data"="*index=<your index name>*"
     | eval Type="Pre Built Panels"
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write]
     [| rest splunk_server="local" "/servicesNS/-/-/admin/macros"
     | search definition="*index=<your index name>*"
     | eval Type="Macros"
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write]
     [| rest splunk_server="local" "/servicesNS/-/-/data/models"
     | search "eai:data"="*index=<your index name>*"
     | eval Type="Data Models"
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write]
     [| rest splunk_server="local" "/servicesNS/-/-/saved/searches"
     | search search="*index=<your index name>*"
     | eval Type="Saved Searches/Alerts/Reports"
     | table Type title eai:acl.app author eai:acl.perms.read eai:acl.perms.write]
0 Karma

nareshinsvu
Builder

But I would not go with this approach. It didn't work for few indexes for me though. You have to verify each dashboard if your index is referenced.

0 Karma

mcohen13
Loves-to-Learn

didn't work

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...