Uploading the data collector's log packages to ECuRep

To help IBM® Support resolve your ticket, use the batch file or script to upload the data collector's log packages to ECuRep.

About this task

If your firewall is configured to use the secure file transfer protocol (SFTP) on port 22, the log packages for the data collector are automatically uploaded to ECuRep.

If your firewall isn't configured to use SFTP on port 22, use this procedure to upload the log packages for the data collector manually to ECuRep:
  • Generate the log package as a .zip file.
  • Transfer the log package to a computer with internet access.
  • Upload the log package manually to ECuRep.

Procedure

  1. Go to the folder that you created on your server or virtual machine to run the data collector.
  2. Depending on the operating system of your server or virtual machine, choose one of the following options:
    Operating system Steps
    Windows Right-click the logcollector.bat file, and click Run as administrator.
    AIX® and Linux® operating systems Log in as root and run the logcollector.sh script.
  3. To find out the parameters and values that you need to specify, use this information:
    Parameter Value
    -t Include the -t parameter and enter the number of the ticket.
    -u If your firewall is configured to upload log packages, include the -u parameter. If not, omit the -u parameter to create a .zip file, which you can copy to another computer, and manually upload to ECuRep.
    -j Include the -j parameter to upload the Java™ core files that are created when the data collector encounters a runtime exception. The Java core files contain information about the last running state of the data collector, information about system memory, and other information. Although uploading these logs might increase the size of the log packages and take longer to upload, IBM Support will need this information to investigate and resolve the issue that you encountered.
    -c Include the -c parameter to upload the contents of the conf folder, which is in the folder where the data collector was installed. IBM Support will need this information to investigate and resolve the issue that you encountered.
    Example: Your firewall is configured to upload log packages:
    -t TS001234567 -u -j -c
    Example: You want to generate a .zip file and upload it manually to ECuRep:
    -t TS001234567 -j -c
  4. Press enter.

Results

The log package for the data collector is uploaded automatically to ECuRep.

To upload the log packages manually, complete the following steps:
  • Copy the .zip file in that was saved in the service folder. The service folder is in the folder that was created on the server or virtual machine to run the data collector.
  • Go to the Sign in to the Enhanced Customer Data Repository page to upload the .zip file to ECuRep.