Getting Data In

disk usage for indexer

a212830
Champion

Hi,

Is there a way to track disk usage per day for indexes?

Tags (2)
0 Karma

barakreeves
Splunk Employee
Splunk Employee

On Windows, Mark Russinovich who brought us sysinternals, has a 'du' utility. This needs to be downloaded...or: run the "diskuse" command
On UNIX, run:
du -h -s

Run both as a scripted output.

You can have this command set to run every few hours or minutes and of course, Splunk the data. Once the data is in, you can create alerts.

0 Karma

a212830
Champion

setup for both internal and non-internal indexes.

0 Karma

barakreeves
Splunk Employee
Splunk Employee

How about going to Manager » Access controls » Roles » admin Indexes at the bottom and make sure Internal indexes are available; I have run into this before so it is the first thing I typically check. Let me know.

0 Karma

a212830
Champion

Returns nothing.

0 Karma

barakreeves
Splunk Employee
Splunk Employee

Try running this query: index=_internal type="Usage"
This query Splunks data from the license_usage.log file; one of the fields returned is "Pool" among other fields

0 Karma

a212830
Champion

Thought so. Thanks. So, now that I know that, how can I get license usage for the past week for a specific license pool?

0 Karma

Ayn
Legend

No, because indexes are compressed whereas license usage concerns the uncompressed amount of data.

0 Karma

a212830
Champion

So, a question on this - does license usage translate to disk storage use?

0 Karma

treinke
Builder

Are you looking to say these files were modified, added, deleted? Or are you looking to say the hard drive has this much free space and alert me when it is at this level? What is the OS that you want all this on?

There are no answer without questions
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...