Installation

How to track storage and license consumption from multiple hosts?

brent_weaver
Builder

Hello.

We have multiple "customers" logging into our Splunk environment and we need to be able to track their license and storage consumption. There must be a way built into Splunk that can allow us to do this, we are in the process of setup, so the time is now 🙂

Labels (1)
0 Karma

dbcase
Motivator

You can use this query that will graph out usage vs license

index=_internal source="*license_usage.log" type=RolloverSummary | timechart span=1d sum(b) AS DailyVolume | eval DailyVolume=round(DailyVolume/1024/1024/1024,2) | eval License="5"

Change the 5 at the end to match whatever your license is in GB/Day

0 Karma

lycollicott
Motivator

You could put each client in their own index (cust1_web, cust1_sales, etc) and then the license usage split by index would help you.
You could also put each of them in their own drive or filesystem structure (e:\cust1\splunkdb, e:\splunkdb\cust1, /cust1/splunkdb, etc.) to give you easy OS insight to their storage total consumption too. (I have a Powershell input that tracks storage usage of directories, so you can get that OS info right through Splunk, too.)

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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 ...