Installation

Round Splunk License Usage

nebel
Communicator

Hi there,

I perform this search:

index=_internal source=*license_usage.log type=Usage pool="all" earliest=-0h@d | eval GB=b/1024/1024/1024 | stats sum(GB) by pool

The result is a value like 13.456425
I'd like to just have 13 (the exactly amount doesn't matter for me).

How can I realize that?

Thanks in advance

Tags (1)
0 Karma
1 Solution

MarioM
Motivator
index=_internal source=*license_usage.log type=Usage pool="all" earliest=-0h@d | eval GB=b/1024/1024/1024 | stats sum(GB) as TotalGB by pool | eval TotalGB=round(TotalGB,0)

View solution in original post

nebel
Communicator

worked great for me, thx!

MarioM
Motivator
index=_internal source=*license_usage.log type=Usage pool="all" earliest=-0h@d | eval GB=b/1024/1024/1024 | stats sum(GB) as TotalGB by pool | eval TotalGB=round(TotalGB,0)
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 ...