Getting Data In

Data Retention and events from imported files

santorof
Communicator

I recently imported a few events from a csv into Splunk. These events were from 2014. Our data retention policy was configured for 180 days. Does the data go cold 180 days from the current date or from when the events were indexed? I cant seem to find the events that were imported a few days ago.

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

The retention period of the data is based on the timestamp of the data in a bucket. The bucket names are in format db___* . A bucket is rolled over to frozen when the epochtimeoftheoldestevent is older than your data retention period (180 day in your case) from current time. See more details on how data retention works here.

https://wiki.splunk.com/Deploy:BucketRotationAndRetention

View solution in original post

0 Karma

somesoni2
Revered Legend

The retention period of the data is based on the timestamp of the data in a bucket. The bucket names are in format db___* . A bucket is rolled over to frozen when the epochtimeoftheoldestevent is older than your data retention period (180 day in your case) from current time. See more details on how data retention works here.

https://wiki.splunk.com/Deploy:BucketRotationAndRetention

0 Karma

santorof
Communicator

I read the document but whats not clear is if the time stamp is created when the event hits the bucket or is extracted from the event. This would help me in determining if the data that I ingested was rolled over into frozen from my policy or something else entirely

0 Karma

somesoni2
Revered Legend

The timestamp of the event is depending upon the sourcetype/source/host definition that you define on your Indexer/Heavy forwarder (props.conf). You should check that to identify if the Splunk will take the timestamp from the event data itself OR use the current timestamp.

0 Karma

santorof
Communicator

Appreciate it thank you. I will take a look.

0 Karma
Get Updates on the Splunk Community!

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...

What’s New in Splunk Observability Cloud: January Feature Highlights & Deep Dives

Splunk Observability Cloud continues to evolve, empowering engineering and operations teams with advanced ...