Archive
Highlighted

How to configure Splunk so it retains logs for 13 months Hot or readily available to search?

New Member

Currently we believe our system is configured to retain logs for the approximate 5.9 years but when we do searches we can only go back approximately 8 moths which appears to drop off to 8 months every week. Here is the configuration;

index specific defaults

maxDataSize = auto
maxWarmDBCount = 300
frozenTimePeriodInSecs = 188697600 (2,184 DAYS)
rotatePeriodInSecs = 60
coldToFrozenScript =
coldToFrozenDir =
compressRawdata = true
maxTotalDataSizeMB = 500000

[history]
homePath = $SPLUNKDB/historydb/db
coldPath = $SPLUNK
DB/historydb/colddb
thawedPath = $SPLUNKDB/historydb/thaweddb
tstatsHomePath = volume:
splunksummaries/historydb/datamodelsummary
maxDataSize = 10
frozenTimePeriodInSecs = 604800 (7 DAYS)

[summary]
homePath = $SPLUNKDB/summarydb/db
coldPath = $SPLUNK
DB/summarydb/colddb
thawedPath = $SPLUNKDB/summarydb/thaweddb
tstatsHomePath = volume:
splunksummaries/summarydb/datamodelsummary

[internal]
homePath = $SPLUNK
DB/internaldb/db
coldPath = $SPLUNK
DB/internaldb/colddb
thawedPath = $SPLUNK
DB/internaldb/thaweddb
tstatsHomePath = volume:
splunksummaries/internaldb/datamodel_summary
maxDataSize = 1000
maxHotSpanSecs = 432000
frozenTimePeriodInSecs = 2592000 (3 DAYS)

[audit]
homePath = $SPLUNK
DB/audit/db
coldPath = $SPLUNKDB/audit/colddb
thawedPath = $SPLUNK
DB/audit/thaweddb
tstatsHomePath = volume:splunksummaries/audit/datamodel_summary

[thefishbucket]
homePath = $SPLUNK
DB/fishbucket/db
coldPath = $SPLUNKDB/fishbucket/colddb
thawedPath = $SPLUNK
DB/fishbucket/thaweddb
tstatsHomePath = volume:splunksummaries/fishbucket/datamodel_summary
maxDataSize = 500
frozenTimePeriodInSecs = 2419200 (28 DAYS)

Tags (1)
0 Karma
Highlighted

Re: How to configure Splunk so it retains logs for 13 months Hot or readily available to search?

SplunkTrust
SplunkTrust

Review the daily ingestion rate (indexed data/day) for each of the indexes with configuration frozenTimePeriodInSecs = 188697600 (2,184 DAYS) and calculate the storage required for your desired retention. Then compare that with your available disk capacity. Its likely that you don't have enough storage to store data for 5.9years and hence they are ageing out.

0 Karma