Data gather

You can collect the data and logs of the application to create a backup of all the definitions, traces, and messages. This collection of data permits you to manage, monitor, and troubleshoot the application.

Collecting data

You can run the script.sh file to gather the data and a zip file is created with the following folders.

  • Definitions: The folder contains definitions of all items in the database.
  • Logs: The folder contains the following log files.
    • Messages.log: The file contains critical messages.
    • Trace.log: The file contains critical messages and traces that describe information about the flow and time taken by each request through various microservices in the application.
    • Metrics: Numerical representation of data about a specific aspect of the application.

You can download the script.sh file from the GitHub repository.

After downloading the file, run the following steps to gather the data:
  1. Navigate to the file location where you have the script.sh file.
  2. Open the command line interface.
  3. Run the following command:
    ./script.sh uno-namespace /path/to/OCLI/executable/ocli

    Where,

    uno-namespace is the Kubernetes cluster where all the microservices of the HCL Universal Orchestrator are deployed.

    /path/to/OCLI/executable/ocli is the location of Orchestration CLI executable file.

    A file that contains messages, logs, and metrics are created in zip format at the same location as the script file.