Log Gathering For Orchestrator Issues

How to gather all the logs needed for Orchestrator troubleshooting?

To streamline troubleshooting for Orchestrator issues, this PowerShell script simplifies the log-gathering process by collecting essential logs and configurations from the Orchestrator machine


The script gathers the following information:

  • Application logs
  • Security logs
  • System logs
  • CAPI2 logs (for certificate issues)
  • Appsettings.Production.json
  • UiPath.Orchestrator.dll.config
  • IIS logs from the last 7 days
  • Output for the Platform Configuration Tool readiness check
  • Network trace (optional, can be enabled during the script execution)

Steps to Use the Script:

  1. Download the Script:

  2. Run as Administrator:

    • Execute the script with Administrator privileges on the Orchestrator machine.
  3. Specify the Installation Path:

    • During the execution, specify the Orchestrator installation path. Press Enter to use the default path.
  4. Enable Network Trace (Optional):

    • There will be an option to initiate a network trace. Note that enabling this option can significantly increase the script's runtime.
  5. Reproduce the Issue:

    • Reproduce the identifiable issue on the Orchestrator.
  6. Continue Execution:

    • Once the issue is reproduced, press Enter to continue the script execution.
  7. Gather Logs and Results:

    • The script will gather all the necessary logs, output the results of the Readiness check, and save everything in an archive.
  8. Send the Archive for Analysis:

    • Send the created archive back for further analysis.