Container Instances not sending all logs to Log analytics workspace

Uros Djerman 0 Reputation points
2024-08-09T07:02:40.8766667+00:00

Following the official microsoft docs on how to monitor and collect resource logs from Container Instances, i see that only 12 at the time logs are ingested into the log analytics workspace, for example if container instances produced 2 logs they are not ingested until there are 12 logs available.

Any known fixes for this issue?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
711 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikhil Duserla 2,665 Reputation points Microsoft Vendor
    2024-08-16T07:56:27.53+00:00

    Hi @Uros Djerman,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    It seems Azure Container Instances batch logs into groups of 12 before sending them to the Log Analytics workspace. If fewer than 12 logs are generated, they won't be ingested until the batch size is met.

    Unfortunately, there’s no direct fix for this design choice. You might consider adjusting your logging configuration to reduce batch size or setting up a custom solution for real-time log ingestion.

    If you have any further queries, do let us know.


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.