Splunk Search

index retirement policies: size versus age

ualbanytech
Path Finder

Where index retirement policies are concerned, if you define both size and age I assume first policy type hit wins?

Tags (1)
0 Karma
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

That is correct, if you hit the size first, it wins. If the data becomes aged beyond what you've specified, that would win.

View solution in original post

jbsplunk
Splunk Employee
Splunk Employee

That is correct, if you hit the size first, it wins. If the data becomes aged beyond what you've specified, that would win.

ualbanytech
Path Finder

@gkanapathy, for age, does that imply that deletion may not occur until events go to frozen?

I just found: http://www.splunk.com/base/Documentation/4.1.6/admin/HowSplunkstoresindexes

and skimming it quickly--probably a mistake--it sounds like I could have newer events being added to a bucket which do not exceed my age policy and this would prevent my events from getting deleted.

However it sounds like the situation you mention should only occur in the warm buckets?

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

Thanks for the clarification.

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

With the qualification that "age" is not an absolute for each item, but that items older than the specified retirement age may be deleted, as long as all items in the same bucket are also older than the retirement age.

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...