Getting Data In

Metric event data with an invalid metric value cannot be indexed. How to troubleshoot

Anuj
New Member

I'm trying to fetch windows perfmon data using below input stanza but not receiving any data and I could see the error in splunk messages.

input.conf

[perfmon://LogicalDisk]
counters = Free Megabytes;% Free Space
instances = *
interval = 30
mode = single
object = LogicalDisk
index = em_metrics
_meta = os::"Microsoft Windows Server 2012 R2 Standard" os_version::6.3.9600 entity_type::Windows_Host
useEnglishOnly = true
sourcetype = PerfmonMetrics:LogicalDisk
disabled = 0

 

Error Message

The metric value=<unset> is not valid for source=LogicalDisk, sourcetype=LogicalDisk, host=******, index=em_metrics. Metric event data with an invalid metric value cannot be indexed. Ensure the input metric data is not malformed.

The metric name is missing for source=LogicalDisk, sourcetype=LogicalDisk, host=********, index=em_metrics. Metric event data without a metric name is invalid and cannot be indexed. Ensure the input metric data is not malformed.

 

Splunk Enterprise is 8.0.3

Forwarders tried are 7.3.6, 8.0.3, 8.0.4  

 

Can anyone help here please?

Labels (1)
Tags (1)
0 Karma

mhotsi
Explorer

Is it a distributed environment? If it is make sure you have installed the Splunk_TA_windows on the SH andINX(if you are using UFs)

 

https://docs.splunk.com/Documentation/AddOns/released/Windows/Install

0 Karma
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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...