1

Is there a supported/standard way to send container logs (info, errors etc.) to Azure Monitor, as there is for metrics with the Metrics collector module in Azure IoT Edge?

I know about this solution, but is there a supported/standard way to solve this? https://github.com/veyalla/logspout-loganalytics

/Jonas

1 Answers1

1

There is IoT ELMS, which is mentioned in the docs. It leverages an OpenTelemetry module that uploads logs to Log Analytics. It also describes a second way of doing it, which utilizes a timed Azure Function to send Direct Methods to the device, asking for the logs and then uploading them to Log Analytics.

But the repository you linked is by Venkat Yalla; his team is responsible for the Metrics collector, so I'd say that module is as close to standard as it'll get.

Matthijs van der Veer
  • 3,865
  • 2
  • 12
  • 22
  • 1
    The logspout-loganalytics has been archived on the day you posted this answer and it's also linking to IoT ELMS, which makes that the only semi-official solution (semi-official because it's in Azure-Samples) – mawax Jan 17 '23 at 08:52