Installation

Is this search accurate to measure how much data a search used in the past week?

daniel333
Builder

I have an event that is using X amount of space.

The search is:

index=network default send string

I'd like to search how many gigs of license this event is using over the last week. Anyway to do that with a search?

Labels (2)
0 Karma

hardikJsheth
Motivator

In case you want to search license usage by index, you can use following query. Replace the $index$ with the name of the index for which you want to find size.

index=_internal source=*license_usage.log* type=Usage pool="auto_generated_pool_enterprise" idx=$Index$ | eval UsageGB=b/1024/1024/1024 | timechart eval(round(sum(UsageGB),0)) as UG
0 Karma

daniel333
Builder

tried this, seem right?

index=* default send string
| eval b=len(_raw)
| stats sum(b) as mytotal
| eval mytotal = mytotal/1024/1024/2014

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...