-
Notifications
You must be signed in to change notification settings - Fork 559
docs: Created new .md file for reuse log analytics #1817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,35 @@ | ||||||
[← Back to *LOCAL_DEPLOYMENT* guide](../docs/LOCAL_DEPLOYMENT.md) | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] Consider standardizing link text across both guides (e.g., 'Back to LOCAL_DEPLOYMENT guide') to ensure consistency.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
|
||||||
# Reusing an Existing Resource Group | ||||||
|
||||||
To use an existing Azure Resource Group for your deployment, follow these steps: | ||||||
|
||||||
--- | ||||||
|
||||||
### 1. Identify the Resource Group | ||||||
|
||||||
- Visit the [Azure Portal](https://portal.azure.com) and choose the Resource Group you want to reuse. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the leading dash (
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
|
||||||
### 2. Set the Resource Group in your Environment | ||||||
|
||||||
Before running `azd up`, set the resource group name: | ||||||
|
||||||
```bash | ||||||
azd env set AZURE_RESOURCE_GROUP <rg-name> | ||||||
``` | ||||||
Replace `<rg-name>` with the name of your chosen Resource Group. | ||||||
|
||||||
### 3. [Optional] Set the Resource Group Location | ||||||
|
||||||
If you want to specify the location, run: | ||||||
|
||||||
```bash | ||||||
azd env set AZURE_LOCATION <location> | ||||||
``` | ||||||
Replace `<location>` with the desired Azure region. | ||||||
|
||||||
--- | ||||||
|
||||||
### 4. Continue Deployment | ||||||
|
||||||
Proceed with the next steps in the [Chat with your data local deployment guide](../docs/LOCAL_DEPLOYMENT.md). |
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,35 @@ | ||||||||||||||||||||||||||||||||||||||||||
<<<<<<< HEAD | ||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unresolved Git conflict markers detected. Please remove the Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||||||||||||||||||||||
[← Back to *LOCAL_DEPLOYMENT* guide](../docs/LOCAL_DEPLOYMENT.md) | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
======= | ||||||||||||||||||||||||||||||||||||||||||
[Go back to *LOCAL_DEPLOYMENT* file](../docs/LOCAL_DEPLOYMENT.md) | ||||||||||||||||||||||||||||||||||||||||||
>>>>>>> 99b9881f145c21de686c7143bcd6bbf1a223926e | ||||||||||||||||||||||||||||||||||||||||||
# 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. | ||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] The phrase 'click on it and click on the workspace' is redundant. Simplify to 'select "Log Analytics workspaces" then choose the desired workspace'. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
### 3. Copy Workspace id | ||||||||||||||||||||||||||||||||||||||||||
In the Overview pane, Click on JSON View | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
Copy Resource ID that is your Workspace ID | ||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
 | ||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+16
to
+25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use a descriptive
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
### 4. Set the Workspace ID in Your Environment | ||||||||||||||||||||||||||||||||||||||||||
Run the following command in your terminal | ||||||||||||||||||||||||||||||||||||||||||
```bash | ||||||||||||||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+30
to
+32
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There are two spaces before 'obtained'; please remove the extra space. Also, standardize 'Id' to 'ID' for consistency.
Suggested change
Replace
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||
### 5. Continue Deployment | ||||||||||||||||||||||||||||||||||||||||||
Proceed with the next steps in the [Chat with your data local deployment guide](../docs/LOCAL_DEPLOYMENT.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filename in the link (
REUSE_LOGANALYTICS.md
) does not match the actual file namereuse_loganalytics.md
(case-sensitive). Update the link to match exactly.Copilot uses AI. Check for mistakes.