Getting Data In

Error Log Flagged: The metric event is not properly structured

ericaooi
Explorer

Hi,

I am using Opentelemetry to push Prometheus metrics into Splunk index with metrics data type.
After pushing the metrics, the following error log prompts.

The metric event is not properly structured, source=XXX, sourcetype=XXX, host=XXX, index=XXX. Metric event data without a metric name and properly formatted numerical values are invalid and cannot be indexed. Ensure the input metric data is not malformed, have one or more keys of the form "metric_name:<metric>" (e.g..."metric_name:cpu.idle") with corresponding floating point values.


May I know what is causing this issue and how can I solve it, please?

Thank you.

Labels (3)
0 Karma
Get Updates on the Splunk Community!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...