Getting Data In

Bug? Logical Disk Performance counter ingest NULL instead of Zero (0)

Andre_
Path Finder

Hello,

we encountered a situation today where a monitored Windows Drive disappeared from Spunk.

The drive had become completely full, 0 bytes free and 0% free space.

|mstats -> drive does show up in results anymore

 

We've reproduced the issue in a lab and every time the disk goes to 0 it disappears.
We've compared the performance counters in the metric index with what powershell shows locally using get-counter. Powershell returns 0 (not NULL)

Looking at available perfmon counters for logical disk, we found one counter that has a not 0 value "% Idle Time" - we've added that to the inputs.conf and mstats SPL

Once this was complete we could see that all other fields for the disk with 0 bytes free were NULL instead of 0 (Zero)

"% Free Space" and ""Free Megabytes" should be 0 (zero) not NULL when they are 0

Anyone else had this issue before?

Kind Regards

Andre 

Labels (1)
Tags (2)
0 Karma
1 Solution

Andre_
Path Finder

Not a bug.

opened a support case and there is a showZeroValue = 1 option for the inputs.conf stanza.

Default is 0, once set to 1, Zero Values are being recorded as 0.

View solution in original post

Andre_
Path Finder

Not a bug.

opened a support case and there is a showZeroValue = 1 option for the inputs.conf stanza.

Default is 0, once set to 1, Zero Values are being recorded as 0.

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!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...