You might be looking for Defender for Containers: https://video2.skills-academy.com/en-us/azure/defender-for-cloud/defender-for-containers-introduction
Can Azure monitor ingest logs from on-premise docker containers?
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.
3 answers
Sort by: Most helpful
-
Andrew Blumhardt 9,856 Reputation points Microsoft Employee
2022-08-22T02:03:25.997+00:00 -
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 ----------
-
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 panelBut 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)