How to get Docker Container Logs into Log Analytics Workspace

Kevin Phifer 1 Reputation point
2020-11-05T19:25:55.527+00:00

Configuartion:
Azure VM Standard D2s v3
Linux Ubuntu Server 18.04 LTS
Docker version 19.03.13, build 4484c46d9d

I am trying to get docker container logs into Log Analytics Workspace. Specifically the stdout and stderr i.e. console logs.

I am successfully running omsagent and have changed the configuration in docker to use fluentd based on the documentation I find below:

https://github.com/Microsoft/OMS-docker/blob/master/OlderVersionREADME.md#setting-up

I am able to see heartbeat and perf information for the host, but nothing about docker or the containers.

Am I thinking of this wrong or is this not the right service to use?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,812 questions
{count} votes