Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.07 KB

File metadata and controls

31 lines (22 loc) · 1.07 KB

← Back to DEPLOYMENT guide

Reusing an Existing Log Analytics Workspace

To configure your environment to use an existing Log Analytics Workspace, follow these steps:

1. Go to Azure Portal

Go to https://portal.azure.com

2. Search for Log Analytics

In the search bar at the top, type "Log Analytics workspaces" and click on it and click on the workspace you want to use.

alt text

3. Copy Resource ID

In the Overview pane, Click on JSON View

alt text

Copy Resource ID that is your Workspace ID

alt text

4. Set the Workspace ID in Your Environment

Run the following command in your terminal

azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '<Existing Log Analytics Workspace Id>'

Replace <Existing Log Analytics Workspace Id> with the value obtained from Step 3.

5. Continue Deployment

Proceed with the next steps in the deployment guide.