nerdexam
Splunk

SPLK-1003 · Question #157

The following stanza is active in indexes.conf: [cat_facts] maxHotSpanSecs = 3600 frozenTimePeriodInSecs = 2630000 maxTota1DataSizeMB = 650000 All other related indexes.conf settings are default…

The correct answer is D. No, because the event time is greater than the retention time. The event is 3,739,283 seconds old, which exceeds frozenTimePeriodInSecs of 2,630,000 seconds, so the bucket containing this event has been frozen and the event is no longer searchable.

Splunk Indexing

Question

The following stanza is active in indexes.conf:

[cat_facts] maxHotSpanSecs = 3600 frozenTimePeriodInSecs = 2630000 maxTota1DataSizeMB = 650000 All other related indexes.conf settings are default values. If the event timestamp was 3739283 seconds ago, will it be searchable?

Options

  • AYes, only if the bucket is still hot.
  • BNo, because the index will have exceeded its maximum size.
  • CYes, only if the index size is also below 650000 MB.
  • DNo, because the event time is greater than the retention time.

How the community answered

(34 responses)
  • A
    12% (4)
  • B
    6% (2)
  • C
    3% (1)
  • D
    79% (27)

Why each option

The event is 3,739,283 seconds old, which exceeds frozenTimePeriodInSecs of 2,630,000 seconds, so the bucket containing this event has been frozen and the event is no longer searchable.

AYes, only if the bucket is still hot.

Hot bucket lifespan is capped by maxHotSpanSecs = 3600 seconds (1 hour), so an event 3,739,283 seconds old could never still be in a hot bucket - and even if it were, its age exceeds frozenTimePeriodInSecs, making it expired.

BNo, because the index will have exceeded its maximum size.

The index size limit (maxTotalDataSizeMB = 650,000 MB) triggers size-based retention separately from time-based retention - the event in question is unsearchable due to age expiration via frozenTimePeriodInSecs, not because the index exceeded its size cap.

CYes, only if the index size is also below 650000 MB.

Index size being below 650,000 MB is relevant only for size-based bucket freezing - since this event has already exceeded the time-based frozenTimePeriodInSecs threshold, the index size has no bearing on whether this event is searchable.

DNo, because the event time is greater than the retention time.Correct

frozenTimePeriodInSecs = 2,630,000 seconds (approximately 30.4 days) is the maximum age threshold before a bucket is frozen and removed from the searchable index. Since the event timestamp is 3,739,283 seconds ago (approximately 43.3 days), it exceeds this retention window, meaning the bucket was already frozen and the event cannot be searched regardless of current index size or bucket state.

Concept tested: Splunk index time-based retention via frozenTimePeriodInSecs

Source: https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Setaretirementandarchivingpolicy

Topics

#indexes.conf#Data Retention#Bucket Lifecycle#Frozen Data

Community Discussion

No community discussion yet for this question.

Full SPLK-1003 Practice