microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
355 stars 27 forks source link

Feature Request: Support for Container-Level Log Filtering in Azure Container Apps #1188

Open tsivachi opened 3 weeks ago

tsivachi commented 3 weeks ago

Is your feature request related to a problem? Please describe.
Currently, log analytics workspace (LAW) can only be enabled at the Container App environment level, which leads to the collection of log data for all containers under that environment. This "all or nothing" approach can result in the accumulation of large amounts of log data, much of which may be unnecessary or irrelevant for certain use cases or compliance requirements. This not only makes log management and analysis more cumbersome but can also lead to increased storage and ingestion costs.

Describe the solution you'd like.
Enable configurations that supports data/log collection by each container, collection rules that support filtering events/logs, transform logs if needed pretty much enabling the features that are supported by Azure Monitor Agent

Describe alternatives you've considered.
No other logging integration is available in Azure Container Apps

Additional context.
None