Azure App insight logs data

Hi Team, please help me on this error.

I’m sending azure App insight logs data (data is in string) into Dynatrace dashboard (For monitoring) using python script.

Error: --->

“message”:“1 invalid lines”,“invalidLines”:[{“line”:1,“error”:“invalid metric type in message \‘Metric_Name,services=[…]CUSTOM_DEVICE-XXXXXXXXXXX O\’; error at \‘O\’ (index 127)”}]},“warnings”:null}’

I got above error please help me on this.

It look\s like your metric name might be wrong, here is a link to the metric names and details around setting up the ingestion stream: Azure Logs — Dynatrace Docs