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
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...