Splunk Search

Can i define the time to search logs in colddb, db, datamodel or frozen

Said7
Explorer

It is posible change the time to specify the time of the storage in coldb or db. I have some index configurated in splunk enterprise. If it is posible, I need to do the configuration index by index?
or only in "indexes.conf" that is located in $SPLUNK_HOME/etc/system/local

I need to assure the logs one year in splunk.

regards.

Tags (1)
0 Karma
1 Solution

xpac
SplunkTrust
SplunkTrust

Hey,

there is a good explanation in the "Set a retirement and archiving policy" part of the docs.

Those settings can be configured per index, and you're most likely looking for frozenTimePeriodInSecs, which defaults to ~6 years, after which (by default) the data is deleted.
You also have to make sure that your index maximum size is big enough, because Splunk will delete data earlier when an index reaches it's maximum size.

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

View solution in original post

0 Karma

xpac
SplunkTrust
SplunkTrust

Hey,

there is a good explanation in the "Set a retirement and archiving policy" part of the docs.

Those settings can be configured per index, and you're most likely looking for frozenTimePeriodInSecs, which defaults to ~6 years, after which (by default) the data is deleted.
You also have to make sure that your index maximum size is big enough, because Splunk will delete data earlier when an index reaches it's maximum size.

Hope that helps - if it does I'd be happy if you would upvote/accept this answer, so others could profit from it. 🙂

0 Karma
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 ...