Getting Data In

How do I permanently delete logs from an index

mike7860
Explorer

Hi all:

I would like to know how do we delete logs from an indexer after 90 days in splunk. Some answers durected me to this output : [main]
frozenTimePeriodInSecs = 7776000

This wil delete data from the main index after 90 days (so its in seconds).

But this will only freeze the data not completely remove it from the index. Your help will be appreciated.

Thanks

Tags (1)

alacercogitatus
SplunkTrust
SplunkTrust

Actually, unless you specify a script to freeze it, the data gets deleted. So that should automatically delete the data for you.

From the doc: * If you do not specify a coldToFrozenScript, data is deleted when rolled to frozen.

http://docs.splunk.com/Documentation/Splunk/5.0.2/Admin/Indexesconf

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...