is there are way to get the backoff events from ACI in log analytics?

Didier Caron 1 Reputation point
2020-08-20T15:33:18.683+00:00

when i deploy a container instance and i connect it to log analytics i am seeing the events arriving in the workspace. However, when a container fails to start repeatedly i am not seeing the backoff message in log analytics. with a liveness probe i am seeing the unhealthy message and killing as a result of that. but the backoff message shows in the UI and the az cli logs but never in the log analytics workspace.

the diagnostics settings for my ACI looks like this:

   apiVersion: 2019-12-01  
   location: eastus  
   name: xgnliveness  
   properties:  
     containers:  
     - name: mycontainer  
      ..  
     diagnostics:  
         logAnalytics:  
           workspaceId: --redacted--  
           workspaceKey: --redacted--  
     osType: Linux  
     restartPolicy: Always  
   tags: null  
   type: Microsoft.ContainerInstance/containerGroups  

below is an example of the backoff message as returned by the CLI

19070-image.png

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,740 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
627 questions
{count} votes