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!

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...