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
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 ...