What is data retention and a bucket lifecycle (hot, warm, cold, frozen) in Splunk? [Advanced]
Answer
Splunk stores indexed data in buckets that move through lifecycle stages such as hot, warm, cold, and frozen. Hot buckets are actively written, warm and cold are searchable historical buckets, and frozen data is archived or deleted based on retention policy.
Technical explanation
Retention is controlled by size and time settings such as maxTotalDataSizeMB and frozenTimePeriodInSecs.
Hot and warm storage is usually faster and more expensive; cold storage can be larger and slower.
Frozen is not searchable unless archived data is restored or handled through a separate process.
Hands-on example
Example: prod_app logs retain 30 days, security logs retain 365 days, and audit logs archive to object storage for 7 years. Configure indexes.conf retention settings, monitor bucket growth, and test restore procedures for frozen audit data.
Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.
More Observability interview questions
- How do you build a Splunk dashboard, and when is it better than Grafana? [Advanced]
- How do you correlate logs and metrics during an incident? [Advanced]
- What is Wavefront (Tanzu Observability), and what is it used for? [Advanced]
- What is the Wavefront proxy, and why use it? [Advanced]
- What is a Splunk source, sourcetype, and host? [Intermediate]
- How does Wavefront handle high-cardinality metrics compared to Prometheus? [Advanced]
- How do you build alerts in Wavefront, and what is a smart alert? [Advanced]
- What is the difference between a universal and a heavy forwarder? [Intermediate]