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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...