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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...