Splunk Search

How to write a search to charge license usage and the license cap?

bluemarvel
Path Finder

Hello,

I need to chart a license usage that will also include the license cap as well (two lines)

0 Karma

ddrillic
Ultra Champion

Alternatively, you can look at -

alt text

And -

alt text

0 Karma

dbcase
Motivator
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"
0 Karma

somesoni2
SplunkTrust
SplunkTrust

This should give you what you desire (use the appropriate span in timechart)

index=_internal sourcetype=splunkd source=*license_usage.log type=usage | timechart sum(b) as usage max(poolsz) as quota by pool | foreach usage* quota* [eval "<<FIELD>>"=round('<<FIELD>>'/(1024*1024*1024),3) ]
0 Karma
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 ...