Splunk Enterprise

Is there an SPL to show the Splunk Ent + ES Data Retention settings. Thanks a mil.

SamHTexas
Builder

I need to learn the data Retention settings for Splunk Ent. & ES in my environment. Would you share a SPL if there are any please. Thanks a million.

Labels (1)
Tags (1)
0 Karma

somesoni2
Revered Legend

Try something like this:

| rest splunk_server=<yourIndexer> /services/data/indexes
   | join type=outer title [
     | rest splunk_server=<yourIndexer> /services/data/indexes-extended
   ]
|  eval retentionInDays=frozenTimePeriodInSecs/86400
| table title retentionInDays

 

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...