All Apps and Add-ons

how long does splunk retain daily license data

a212830
Champion

How long does splunk retain it's daily license usage? I am running the following, with a custom date (april 1st to today), and it only goes back to April 20th.

index="_internal" source="*metrics.log" per_index_thruput | eval GB=kb/(1024*1024)| timechart span=1d sum(kb) by series

0 Karma

kristian_kolb
Ultra Champion

It's in the _internal index which has a 30 day retention time.

If you want to change it you can, but keep in mind that Splunk will log a lot about itself, and it all goes into the _internal index.

/K

0 Karma

kristian_kolb
Ultra Champion

or you could output it to a csv file if you just want the daily total.

0 Karma

a212830
Champion

Wow. 30 days? For licensing? I can't imagine anyone would want an amount that small...

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

You can also do a summary index and keep it that way.

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...