Skip to content

Commit

Permalink
Date fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthebrit committed Jun 12, 2022
1 parent 6b4d56e commit aaad6df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LogAnalytics/LogTypes.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +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
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 AzureActivityMar_RST --restore-source-table AzureActivity --start-restore-time "2022-03-09T00:00:00.000Z" --end-restore-time "2022-03-14T00: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
az monitor log-analytics workspace table search-job create --resource-group defaultresourcegroup-scus --workspace-name DefaultWorkspace-466c1a5d-e93b-4138-91a5-670daf44b0f8-SCUS --name AzureActivityMar_SRCH --search-query "AzureActivity" --limit 500 --start-search-time "2022-03-09T00:00:00.000Z" --end-search-time "2022-03-14T00:00:00.000Z" --no-wait

0 comments on commit aaad6df

Please sign in to comment.