Updated on 2024-12-16 GMT+08:00

Associating an LTS Log Group

After associating a component with an LTS log group, you can view the component running logs collected by LTS on the ServiceStage console and query the logs.

Prerequisites

  1. A log group has been created. For details, see Creating a Log Group.
  2. A log stream has been created. For details, see Creating a Log Stream.
  3. The host path of the logs to be collected has been configured in the log stream.

Associating an LTS Log Group

  1. Log in to ServiceStage.
  2. Use either of the following methods to go to the Logs page.

    • On the Application Management page, click the application to which the component belongs, click the target component in Component List, and choose O&M Configurations > Logs in the left navigation pane.
    • On the Component Management page, click the target component and choose O&M Configurations > Logs in the left navigation pane.

    If the component is created by Creating a Component by Importing a CCE Workload and is not enabled:

    1. In the displayed dialog box, click OK.
    2. On the Enable Component page, click Enable and wait until the component is restarted.

  3. On the Running Logs(LTS) page, click Associate LTS Log Group.
  4. Select the target log group and click OK.

    After the log group is associated, you can view the component running logs collected by LTS.

    Click Go To or to go to the log stream page on the LTS console. You can manage component run logs. For details, see Log Management.