Splunk Search

How can I find the data retention and indexers involved?

danielbb
Motivator

I need a query that will provide the earliest date for data within an index as well as the indexer it is stored on, specifically looking for which indexes are storing data for one year or more and on which indexers they are being stored on.

Any ideas?

Labels (1)
Tags (1)
0 Karma

SinghK
Builder

Data retention can also be checked from indexes.conf thuogh you will have to convert time.

isoutamo
SplunkTrust
SplunkTrust

That told what has defined, but it didn't told you what is current situation on your environment. There could be e.g. too less space for fulfil those definitions and/or some events could be there much longer as buckets contains newer events etc.

Here is some older post which explain this behabiour

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

You probably have MC installed, configured and in use in your environment? If not then you should take it into use!

You can see (almost) this from MC -> Indexing -> Indexes and Volumes: Deployment.

If that report is not exactly what you are looking for you could open it's search (by right hand side lower corner) and update that search to fulfil your needs.

r. Ismo

Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...