Monitoring Splunk

How to find how much storage is used from logs?

xwang333
Engager

I have a index which would return logs. I would like to know how much storage is used for logs in a specific time range. How could I write the query or do this from UI? Thanks.

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There is no log that contains that information. The closest you can get is the dbinspect command.

| dbinspect index=foo | stats sum(sizeOnDiskMB) as DiskMB

The command looks at buckets rather than events so the storage size given may include data outside the specified time range.

---
If this reply helps you, Karma would be appreciated.
0 Karma
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 ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...