Getting Data In

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

Andre_
Communicator

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_
Communicator

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_
Communicator

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!

From Raw Data to Executive-Ready Stories, Faster

Build Data Stories for Every Audience  A dashboard is rarely just a dashboard. It might be the view an ...

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...