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!

Stay Connected: Your Guide to July and August Tech Talks, Office Hours, and Webinars!

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...

Edge Processor Scaling, Energy & Manufacturing Use Cases, and More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Get More Out of Your Security Practice With a SIEM

Get More Out of Your Security Practice With a SIEMWednesday, July 31, 2024  |  11AM PT / 2PM ETREGISTER ...