Can Azure monitor ingest logs from on-premise docker containers?

saurabh 356 Reputation points
2022-08-22T00:17:38.023+00:00

Is it possible to persist on-premise docker container(docker host on Windows & Linux Vms) logs in Azure Monitor ? If its doable, please share some reference implementation/documentation details.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,181 questions
Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
399 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Andrew Blumhardt 9,856 Reputation points Microsoft Employee
    2022-08-22T02:03:25.997+00:00
    0 comments No comments

  2. Mohammed Altamash Khan 2,086 Reputation points
    2022-08-22T02:14:55.867+00:00

    Hi @saurabh

    Kindly refer to the article for how to setup the Monitoring of Containers (Hybrid) : https://video2.skills-academy.com/en-us/azure/azure-monitor/containers/container-insights-hybrid-setup

    Please follow the procedure on article , if you need any help , kindly comment below.

    ------- If this reply was helpful , kindly accept the answer ----------


  3. Maxim Sergeev 6,571 Reputation points Microsoft Employee
    2022-08-23T00:09:59.207+00:00

    Hi @saurabh ,

    Yes, you can get logs from docker directly without ContainerInsights by installing and using OMS Agent for Linux directly.
    Then just configure required data sources in Log Analytics Management panel

    233841-image.png

    But please be informed, this OMS Agent for Linux is going to be retired in August 2024.
    If you are interested to work in such cases later, it's recommended to start using Azure Monitoring Agent (it requires Azure Arc agent as a bridge to Azure Cloud)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.