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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...