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
- When you collect logs from the PEP, specify the `OutputPath` parameter to be a location on the HLH machine. Also ensure that the location is encrypted.
136
136
- The parameters `OutputSharePath` and `OutputShareCredential` are optional and are used when you upload logs to an external shared folder. Use these parameters *in addition* to `OutputPath`. If `OutputPath` is not specified, the log collection tool uses the system drive of the PEP VM for storage. This might cause the script to fail because the drive space is limited.
137
+
- As shown in the previous example, the `FromDate` and `ToDate` parameters can be used to collect logs for a particular time period. This can come in handy for scenarios like collecting logs after applying an update package on an integrated system.
137
138
138
139
**Parameter considerations for both ASDK and integrated systems:**
139
140
140
-
-As shown in the previous ASDK example, the `FromDate` and `ToDate` parameters can be used to collect logs for a particular time period. This can come in handy for scenarios like collecting logs after applying an update package on an integrated system. If the `FromDate` and `ToDate` parameters are not specified, logs are collected for the past four hours by default.
141
+
- If the `FromDate` and `ToDate` parameters are not specified, logs are collected for the past four hours by default.
141
142
- You can use the `TimeOutInMinutes` parameter to set the timeout for log collection. It is set to 150 (2.5 hours) by default.
142
143
143
144
- Currently, you can use the `FilterByRole` parameter to filter log collection by the following roles:
@@ -166,8 +167,8 @@ A few additional things to note:
166
167
167
168
* The command takes some time to run based on which role(s) the logs are collecting. Contributing factors also include the time duration specified for log collection, and the numbers of nodes in the Azure Stack environment.
168
169
* After log collection completes, check the new folder created in the `-OutputPath` parameter specified in the command.
169
-
*A file called `Get-AzureStackLog_Output.log` is created in the folder. It contains the zip files and includes the command output. This output can be used for troubleshooting any failures in log collection.
170
-
*Each role has its logs inside individual zip files. Depending on the size of the collected logs, a role may have its logs split in to multiple zip files. For such a role, if you want to have all the log files unzipped in to a single folder, use a tool that can unzip in bulk (such as 7zip). Select all the zipped files for the role, and select **extract here**. This unzips all the log files for that role in a single merged folder.
170
+
*Each role has its logs inside individual zip files. Depending on the size of the collected logs, a role may have its logs split in to multiple zip files. For such a role, if you want to have all the log files unzipped in to a single folder, use a tool that can unzip in bulk (such as 7zip). Select all the zipped files for the role, and select **extract here**. This unzips all the log files for that role in a single merged folder.
171
+
*A file called `Get-AzureStackLog_Output.log` is also created in the folder that contains the zipped log files. This file is a log of the command output, which can be used for troubleshooting problems during log collection.
171
172
* To investigate a specific failure, logs may be needed from more than one component.
172
173
- System and Event logs for all infrastructure VMs are collected in the *VirtualMachines* role.
173
174
- System and Event logs for all hosts are collected in the *BareMetal* role.
0 commit comments