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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...