Skip to content

Commit 8fa86bd

Browse files
Merge pull request #479 from microsoft/psl-reuse-log-file
docs: Added file and images and updated links
2 parents 5ac87b0 + e53dbc4 commit 8fa86bd

File tree

6 files changed

+34
-31
lines changed

6 files changed

+34
-31
lines changed

docs/CustomizingAzdParameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ By default this template will use the environment name as the prefix to prevent
2020
| `AZURE_ENV_EMBEDDING_MODEL_NAME` | string | `text-embedding-ada-002` | Sets the name of the embedding model to use. |
2121
| `AZURE_ENV_IMAGETAG` | string | `latest` | Set the Image tag Like (allowed values: latest, dev, hotfix) |
2222
| `AZURE_ENV_EMBEDDING_MODEL_CAPACITY` | integer | `80` | Sets the capacity for the embedding model deployment. |
23-
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | `<Existing Workspace Id>` | Reuses an existing Log Analytics Workspace instead of creating a new one. |
23+
| `AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID` | string | Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md) | Reuses an existing Log Analytics Workspace instead of creating a new one. |
2424

2525

2626

@@ -37,4 +37,4 @@ azd env set <PARAMETER_NAME> <VALUE>
3737

3838
```bash
3939
azd env set AZURE_LOCATION westus2
40-
```
40+
```

docs/DeploymentGuide.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -138,35 +138,7 @@ To adjust quota settings, follow these [steps](./AzureGPTQuotaSettings.md).
138138

139139
<summary><b>Reusing an Existing Log Analytics Workspace</b></summary>
140140

141-
To configure your environment to use an existing Log Analytics Workspace, follow these steps:
142-
143-
#### 1. Navigate to Azure Portal
144-
Go to [Azure Portal](https://portal.azure.com)
145-
146-
#### 2. Find Your Log Analytics Workspace
147-
- In the search bar at the top, type "Log Analytics workspaces" and select it.
148-
- Click on the workspace you want to use.
149-
150-
![Log Analytics Resource List](../docs/images/logAnalyticsList.png)
151-
152-
#### 3. Copy Workspace Id
153-
- In the Overview pane, Click on **JSON View**
154-
155-
![Log Analytics](../docs/images/logAnalytics.png)
156-
157-
- Copy the **Resource ID** (this is your Workspace ID)
158-
159-
![Log Analytics JSON](../docs/images/logAnalyticsJson.png)
160-
161-
#### 4. Set the Workspace ID in Your Environment
162-
Run the following command in your terminal
163-
```bash
164-
azd env set AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID '<Existing Log Analytics Workspace Id>'
165-
```
166-
Replace `<Existing Log Analytics Workspace Id>` with the full Resource ID obtained from Step 3.
167-
168-
#### 5. Continue Deployment
169-
Continue with the [deploying steps](#deploying-with-azd).
141+
Guide to get your [Existing Workspace ID](/docs/re-use-log-analytics.md)
170142

171143
</details>
172144

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/document-generation-solution-accelerator/blob/psl-reuse-log-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/document-generation-solution-accelerator/blob/psl-reuse-log-file/docs/DeploymentGuide.md#deployment-options--steps).

0 commit comments

Comments
 (0)