You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Update with the OMS/Log Analytics Workspace Shared Key found in the settings pane of your Log Analytics workspace
61
+
#### OEM = "<replacewithyourhardwarevendorname>"
62
+
1. Update with the name of your hardware vendor. Allows for reports in log analytics utilizing the OEM name.
61
63
62
64
### Step 4 – Update variables
63
65
1. Open an elevated PowerShell ISE session
@@ -66,12 +68,12 @@ The following are required to setup the environment. You should gather these var
66
68
67
69
### Step 5 – Execute the script & update the scheduled task
68
70
1. Run the InvokeMasterScript.ps1 now that the variables have been updated.
69
-
2. Once the script completes, open Task Schedulerand update the Run As account to the Admin UserName and Password of the UploadToOMSVM VM.
70
-
71
+
2. Once the script completes, open Task Scheduler, right click on the newly created tasks named UsageDataUpload1 & OperationalDataUpload1, click Properties, and click "Change User or Group" (the Run As account) to the Admin UserName and Password of the UploadToOMSVM VM.
72
+
3.Click Run. Operational Data will be piushed every 13 minutes now. Usage Data will be pushed at 9am every day.
71
73
72
74
The scripts sets up 2 scheduled tasks:
73
75
1. Upload of 1-day worth of usage data provided from the Provider Usage API at 9am every day.
74
-
2. Upload of operational data every 13 minutes. (Note this is disabled in the current release while the script for usage is fixed)
76
+
2. Upload of operational data every 13 minutes.
75
77
76
78
The data are uploaded to the OMS workspace you specified in the ARM template.
77
79
@@ -88,7 +90,7 @@ Note: For usage data, the script is setup to query and upload usage data reporte
88
90
- The scheduled task(s) did not get set up. To check, rdp into the machine you deployed using the ARM template and launch **Task Scheduler** from Windows Start menu to check if there is a scheduled task called **UsageDataUpload**. If there isn't, it may help to check the logs for the custom script extension following question 1 step 3 and look for any errors with registering a scheduled task.
89
91
- Unable to access the usage API. To check for this, look in `C:\AZSAdminOMSInt\UsageSummary.json` on the deployed VM, if there are no records here, that means `usagesummaryjson.ps1` failed at one point.
90
92
- There are no usage data collected. On the deployed VM, if `C:\AZSAdminOMSInt\UsageSummary.json` shows an empty array, that most likely means there were no usage data available in the time frame specified (the day before yesterday).
91
-
- If there are usage entries in `C:\AZSAdminOMSInt\UsageSummary.json` and the scheduled task exists, then the error likely occurred in `C:\AZSAdminOMSInt\uploadToOMS.ps1`, which uploads usage data to OMS from the json file.
93
+
- If there are usage entries in `C:\AZSAdminOMSInt\UsageSummary.json` and the sceduled task exists, then the error likely occurred in `C:\AZSAdminOMSInt\uploadToOMS.ps1`, which uploads usage data to OMS from the json file.
0 commit comments