Splunk Search

How to find if a particular index is being used?

anil15694
Explorer

Hi,

In order to remove an index, how can we be sure that the index is not getting used?

What should we check before removing any index?

0 Karma

rabbidroid
Path Finder

There are several ways you can see if there is data in a specific index.

You can try " | dbinspect index=<your_index> ", or "|tstats count where index=<your_index> by _time span=1d"

0 Karma

FrankVl
Ultra Champion

Couple of things that come to mind (possibly not an exhaustive list):

  • check if any data is still coming in
  • check if any searches are ran against it (search for the index name in _audit index)
  • check if any configuration exists that refers to the index (e.g. macros, saved searches, dashboards, inputs)
    • several ways to do this (btool, | rest, simply searching through the files on the server(s)...)
0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...