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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...