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.

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...