Getting Data In

Is it possible to truncate data in an index eg. delete all events that are older than 60 days, and if how?

preben12
Communicator

Is it possible to truncate data in a index eg. delete all events that are older than 60 days, and if how ?
Can it be scheduled ?

Labels (1)
Tags (1)
1 Solution

danks
Engager

Link no longer works. Why does this keep moving around?

inventsekar
SplunkTrust
SplunkTrust

https://docs.splunk.com/Documentation/Splunk/9.0.0/Indexer/Setaretirementandarchivingpolicy

 

the URL contains the Splunk version number in it, right.. just update that to your required splunk version, .. you will get the doc you are looking for. thats it.. simple, right?!?!

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...