Skip to content

Commit 3f8a243

Browse files
Merge pull request #298 from microsoft/psl-reuselog-file
docs: Document update
2 parents 9b833ec + c3017f9 commit 3f8a243

File tree

5 files changed

+39
-0
lines changed

5 files changed

+39
-0
lines changed

docs/DeploymentGuide.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,14 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
167167

168168
</details>
169169

170+
<details>
171+
172+
<summary><b>Reusing an Existing Log Analytics Workspace</b></summary>
173+
174+
Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)
175+
176+
</details>
177+
170178
### Deploying with AZD
171179

172180
Once you've opened the project in [Codespaces](#github-codespaces), [Dev Containers](#vs-code-dev-containers), or [locally](#local-environment), you can deploy it to Azure by following these steps:
142 KB
Loading
196 KB
Loading
88.9 KB
Loading

docs/re-use-log-analytics.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[← Back to *DEPLOYMENT* guide](https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/blob/psl-reuselog-file/docs/DeploymentGuide.md#deployment-options--steps)
2+
3+
# Reusing an Existing Log Analytics Workspace
4+
To configure your environment to use an existing Log Analytics Workspace, follow these steps:
5+
---
6+
### 1. Go to Azure Portal
7+
Go to https://portal.azure.com
8+
9+
### 2. Search for Log Analytics
10+
In the search bar at the top, type "Log Analytics workspaces" and click on it and click on the workspace you want to use.
11+
12+
![alt text](../docs/images/re_use_log/logAnalyticsList.png)
13+
14+
### 3. Copy Resource ID
15+
In the Overview pane, Click on JSON View
16+
17+
![alt text](../docs/images/re_use_log/logAnalytics.png)
18+
19+
Copy Resource ID that is your Workspace ID
20+
21+
![alt text](../docs/images/re_use_log/logAnalyticsJson.png)
22+
23+
### 4. Set the Workspace ID in Your Environment
24+
Run the following command in your terminal
25+
```bash
26+
azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '<Existing Log Analytics Workspace Id>'
27+
```
28+
Replace `<Existing Log Analytics Workspace Id>` with the value obtained from Step 3.
29+
30+
### 5. Continue Deployment
31+
Proceed with the next steps in the [deployment guide](https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator/blob/psl-reuselog-file/docs/DeploymentGuide.md#deployment-options--steps).

0 commit comments

Comments
 (0)