All Apps and Add-ons

Increase the retention on Splunk license usage log

sugarmanhk
New Member

Hi Support,

Our customer is WFAO and they are in cc list.
We found that the license usage log will be truncated after 30 days even we the dish space of the index “_internal” were using under 30%
alt text
Our questions is that how can we increase the retention period of the license usage log? Is it the same that we set the " frozenTimePeriodInSecs” under system/local/indexes.conf [_internal]? Or there is any other special settings?

0 Karma
1 Solution

adonio
Ultra Champion

hello there,

out of the box, the retention for internal indexes are 30 days (2592000 seconds)
$SPLUNK_HOME/etc/system/default/indexes.conf

[_internal]
homePath   = $SPLUNK_DB\_internaldb\db
coldPath   = $SPLUNK_DB\_internaldb\colddb
thawedPath = $SPLUNK_DB\_internaldb\thaweddb
tstatsHomePath = volume:_splunk_summaries\_internaldb\datamodel_summary
maxDataSize = 1000
maxHotSpanSecs = 432000
frozenTimePeriodInSecs = 2592000

you can increase the retention or, like i have seen many times, write a summary search that capture the daily license metrics you are interested and you can have many years retention for very little amount of disk.
also searches and calculations will run faster

hope it helps

View solution in original post

adonio
Ultra Champion

hello there,

out of the box, the retention for internal indexes are 30 days (2592000 seconds)
$SPLUNK_HOME/etc/system/default/indexes.conf

[_internal]
homePath   = $SPLUNK_DB\_internaldb\db
coldPath   = $SPLUNK_DB\_internaldb\colddb
thawedPath = $SPLUNK_DB\_internaldb\thaweddb
tstatsHomePath = volume:_splunk_summaries\_internaldb\datamodel_summary
maxDataSize = 1000
maxHotSpanSecs = 432000
frozenTimePeriodInSecs = 2592000

you can increase the retention or, like i have seen many times, write a summary search that capture the daily license metrics you are interested and you can have many years retention for very little amount of disk.
also searches and calculations will run faster

hope it helps

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...