IBM Support

Mustgather: Collect troubleshooting data for Robotic Process Automation

Troubleshooting


Problem

To enable the support to assist with your problem, you must collect documentation so that the support team can diagnose your problem. Gathering the required documentation before you contact support expedites the troubleshooting process and save you time. Otherwise, you might be directed to collect this data after the case is opened to allow us to proceed with our investigation.

This document is for the non-Automation Anywhere based Robotic Process Automation product. Use this linked document for troubleshooting Robotic Process Automation with Automation Anywhere.

Resolving The Problem

Overview of Robotic Process Automation diagnostic information


General diagnostic information


As needed diagnostic information


Detailed diagnostic collection steps

In this section, you will find the detailed steps to gather different types of data for IBM RPA.
  •  Items 1-7 are collected on the IBM RPA Client.
  •  Item 8 is only for on-premises installation and is related to the IBM RPA Server.
  •  Item 9 is for problems in the Web Client and can be collected on any machine with access to it.
1 - Detailed problem and environment description
Provide a precise description of the issue and add every detail that might be related such as:
  • What were you trying to do, and which symptoms do you see that are unexpected or unwanted?
  • Which interface, component, or application is involved?
  • Do you see any error messages in the GUI or in the logs?
  • What is the time stamp when the problem occurs (including second if possible)?
  • Did the current scenario work previously in this or another environment? If yes, specify any changes that occurred.
  • Is this issue reproducible at will? How often does this problem occur? Do you see any indicators on why the behavior happens?
  • Provide screen captures if applicable (if an error message is not shown or if the specific error is not seen in the log files, and so on)
  • RPA version being used
  • Operating system and version (of client and server if a problem in on-premises) 
  • Information about other involved software - is this a problem with a bot interacting with a terminal, website, windows application or any other service?
  • Is your environment a Production, Test, or QA environment, and how is that environment impacted?
2 - License Information
For problems related to licensing and certificate, navigate to https://localhost:8099/web/en-US/license and send a print screen of the whole page.
License information
The image must include the whole page, as some error messages will sometimes appear on the top-right corner.
3 - Setup Installation Problems
For problems related to IBM Robotic Process Automation Client installation, the setup log file should have a detailed description of what went wrong.
  •  C%programdata%\IBM Robotic Process Automation\Setup\SetupServices.log
4 - Robotic Process Automation Agent Logs
The Agent Service orchestrates all IBM RPA activities in a machine. This log is of general purpose and useful in most scenarios.
  • C:\ProgramData\IBM Robotic Process Automation\AgentService.log
Note: C:\ProgramData is a hidden folder in Windows, you can enable it following the steps in Show hidden files
5 - Component-specific logs
In issues with the Studio, Vault, or Launcher, please send the specific log related to it.
  • Studio: C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\Studio.log
  • Launcher: C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\Launcher.log
  • Vault: C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\Vault.log
  • RPA Bot Scheduler Issues
6 - Bot Execution logs

If your issue relates to a specific robot execution or a particular script, please send the bot execution log.

  • For versions prior to 21.0.2:

Every bot execution outside the Studio generates two new log files, named bot and host. These logs are saved under C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\ in folders named by the date, in the format yyyyMMdd.

If requested, please send the whole folder from the days where the error occurred, with the start time from the robot where the error happens, so our team may identify the correct log files by their metadata.

To find out the correct time the bot execution started, go into your script in the web client, and access the "Logs" tab.

Scripts execution in Control Center

Example: To open a case regarding the failed execution represented in the above image, send the Time that the bot started  "2/25/21 9:30 AM" and the zipped folder C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\20210225

  • For version 21.0.2 and higher:
In version 21.0.2 a functionality of downloading logs directly from the web client was implemented for every execution outside Studio. With that, users no longer need to access their machine's filesystem to get the bot execution log files. 
This could be done through the Script or Job logs section on the web client by the steps:
A- Navigate to Script or Jobs tab
B- Select the Script or Job the job in question.
C- On the Script or the Job details, click the "Download logs" button as the example:
image-20220215112022-3
Example:  To open a case regarding the pending execution represented in the above image, download the log and send it to the case.
7 - Test case (if possible)
If an error is easily reproducible with a script, send a simplified and isolated .wal file reproducing the problem without any custom dependencies and access to external systems
8 - Server Logs
For server-related problems, please send both of this logs. Only relevant and present in on-premises installations, in the server machine
  • Setup - C:\ProgramData\IBM Robotic Process Automation\Setup
  • API - During the installation, the wizard user will prompt the user to choose the API Logs' location. The default location is C:\ProgramData\IBM Robotic Process Automation\LOG\Api
9 - Collect Browser data for Web Client issues
For console or web application usage issues, capture the following browser data:
10 - Event viewer 
In some cases, the even viewer may have information about errors related to IBM RPA interacting with the Windows OS. For detailed steps on how to export Event view logs related to IBM RPA see How to use Event Viewer to export Application Logs to CSV file in the IBM RPA.

Setting Log Level and Log Buffer Size

Every IBM RPA log has a corresponding .config file, where the Log Level and Log Buffer Size can be changed.
For detailed steps on how to change the Log Level on IBM RPA files see Changing logLevel from WARN to INFO - Robotic Process Automation
IMPORTANT:  Changing Log Levels and Buffer size will slow down your environment. Once you are done collecting the required data, it is recommended to return your settings to the default state.

      What to do next

      1. Review the log files and traces at the time of the problem to try to determine the source of the problem.
      2. Once you completed gathering all the needed info and diagnostics, you can add them to your case. Alternatively, you can upload files to ECURep. For more information, see Enhanced Customer Data Repository (ECuRep) - Overview.

      - added related links section. - Ken Amelio - 10-25-2021

      [{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSC50T","label":"IBM Robotic Process Automation"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSC50T","label":"IBM Robotic Process Automation"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSC50T","label":"IBM Robotic Process Automation"},"ARM Category":[{"code":"a8m3p000000h9wSAAQ","label":"Install \/ Upgrade"}],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

      Product Synonym

      RPA, WDG

      Document Information

      Modified date:
      02 September 2022

      UID

      ibm16374326