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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...