How to change Log Analytics Workspace of a Container App

203 Views Asked by At

The Log Analytics Workspace of one of my Container Apps has been deleted.
So, when trying to access Logs:

enter image description here

I get a 404:

enter image description here


Is there a way to add a new Workspace to my Container App?

1

There are 1 best solutions below

0
On

Along with your Azure Container App, Azure Container Apps Environment is created that hosts the Azure Container App. Visit the Azure Container Apps Environment and change the Log Analytics Workspace via the Logging Options like below:-

enter image description here

Select your another existing Log Analytics Workspace and Save the settings:-

enter image description here

enter image description here

Reference:-

Log storage and monitoring options in Azure Container Apps | Microsoft Learn