-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e07068b
commit 6b4d56e
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#Restore logs | ||
az monitor log-analytics workspace table restore create --subscription "SavillTech Dev Subscription" --resource-group defaultresourcegroup-scus --workspace-name DefaultWorkspace-466c1a5d-e93b-4138-91a5-670daf44b0f8-SCUS --name AzureActivity_RST --restore-source-table AzureActivity --start-restore-time "2022-09-05T00:00:00.000Z" --end-restore-time "2022-09-10T00:00:00.000Z" --no-wait | ||
|
||
#Performa a search | ||
az monitor log-analytics workspace table search-job create --resource-group defaultresourcegroup-scus --workspace-name DefaultWorkspace-466c1a5d-e93b-4138-91a5-670daf44b0f8-SCUS --name AzureActivity_SRCH --search-query "AzureActivity" --limit 500 --start-search-time "2022-09-05T00:00:00.000Z" --end-search-time "2022-09-10T00:00:00.000Z" --no-wait |