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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...