This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 199
Consolidating Log Analytics References & Definitions #1679
Merged
nharper285
merged 21 commits into
microsoft:main
from
nharper285:user/noharper/merge-la-workspaces
Mar 28, 2022
Merged
Consolidating Log Analytics References & Definitions #1679
nharper285
merged 21 commits into
microsoft:main
from
nharper285:user/noharper/merge-la-workspaces
Mar 28, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ranweiler
approved these changes
Mar 1, 2022
ranweiler
reviewed
Mar 1, 2022
ranweiler
reviewed
Mar 1, 2022
ranweiler
approved these changes
Mar 2, 2022
…m/nharper285/onefuzz into user/noharper/merge-la-workspaces
stishkin
pushed a commit
to stishkin/onefuzz
that referenced
this pull request
Mar 30, 2022
stishkin
pushed a commit
to stishkin/onefuzz
that referenced
this pull request
Mar 30, 2022
stishkin
pushed a commit
to stishkin/onefuzz
that referenced
this pull request
Mar 30, 2022
stishkin
added a commit
that referenced
this pull request
Mar 31, 2022
* port template to bicep * Update src/deployment/azuredeploy.bicep Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com> * port template to bicep * adding type annotation * apply changes from #1679 Co-authored-by: stas <statis@microsoft.com> Co-authored-by: Teo Voinea <58236992+tevoinea@users.noreply.github.com>
ghost
locked as resolved and limited conversation to collaborators
Apr 28, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary of the Pull Request
What is this about?
From issue #1614:
Right now, an instance has two Log Analytics Workspaces:
logs-wb-..
<instance-name>
One collects data that includes Azure Monitor logs and perf counters. The other gets App Insights data.
If possible, just deploy one workspace, named after the instance, which collects both. This will enable easily creating queries and workbooks that pull data from both workspaces.
The
<instance-name>
workspace was created to query App Insights data, as AI did not yet have the ability to do so. I am removing the original reference to this workspace and renaming the monitor-based workspace[log-wb-...]
to[instance-name]
.As a part of this update, VMSS OMSExtensions will now point to the consolidated
[instance-name]
log analytics workspace. Originally, the OMSExtension monitoring pointed to the[log-wb-...]
workspace. This means that when a running instance is upgraded to include these changes, existing VMSS will initially still point to the old LA. However, timer-workers will eventually update the configs of these VMSS with the correct LA and once the nodes are upgraded and reimaged, they will correctly send VMInsights to the[instance-name]
LA.If customers would like to keep the original
[log-wb-...]
workspace to retain old VMSS logs, that is reasonable.If the
[log-wb-...]
workspace is deleted immediately then VMInsights for existing VMSS from the last 30 days will no longer be accessible.Regardless, log retention for all workspaces is 30 days. This means that 30 days after the last VMSS node updates to point to the
[instance-name]
workspace, there will no longer be logs left to query and the workspace can be safely deleted.If customers do not want to wait for the update that will point VMSS nodes to the
[instance-name]
workspace, they can force an upgrade by setting theneeds_config_update
VMSS config property totrue
in thescaleset
table in the OneFuzzfunc...
storage account and then 'upgrading' the scaleset manually.PR Checklist
Info on Pull Request
What does this include?
Changes to AzureDeploy.json workspace and app insights definitions.
Validation Steps Performed
How does someone test & validate?