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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...