Azure AKS Logging

Boopathy, Elango 106 Reputation points
2022-03-21T08:39:13.947+00:00

Hi Team,

We have a customer running multiple custom applications generating app logs in different formats & different timestamps. All the apps are currently running in Mirantis Kuberenes Engine and using ELK stack (File beat + Log stash + Elastic search + Kibana) to Extract & visualize the logs.

Now customers are planning to migrate all the custom apps into Azure and run containers from AKS. We have recommended enabling monitoring and using container insight from Azure monitor blade to troubleshoot the logs from Portal. However we're not sure whether Azure Monitor supports ingest app logs from different formats and how custom log aggregation is going to be handled in Azure.

Could you through some idea on app logging in AKS from above use case ?

Any support / recommendation is highly appreciated.

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,850 questions
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
1,883 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 22,486 Reputation points
    2022-03-25T10:03:10.683+00:00

    Hello @Boopathy, Elango ,

    Azure Monitor/Container Insights can ingest stdout/stderr coming from any container to Log Analytics and can have rich query and correlation experience.
    If the customer is looking for instrumenting and forwarding logs to a log store without forwarding it to stdout/stderr, please refer Application insights offering from Azure monitor.

    Reference : https://azurelib.com/azure-monitor-vs-application-insights/
    https://techcommunity.microsoft.com/t5/analytics-on-azure/custom-logs-on-aks-amp-azure-monitor/m-p/2063983

    Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as convenient to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    Please "Accept as Answer" and Upvote if any of the above helped to help others in the community looking for remediation for similar issues.