Updated on 2024-02-28 GMT+08:00

Tag Management

You can tag log groups, log streams, host groups, and log ingestion configurations.

Tagging a Log Group

You can add, delete, modify, and view tags on the log group list page. Tags of a log group are synchronized to all log streams in the log group.

  1. Log in to the LTS console, and choose Log Management in the navigation pane on the left.
  2. Move the cursor to the Tag column of the target log group and click.
  3. In the Configure Tag dialog box displayed, enter a tag key and value, and click Add. The entered key and value are then displayed in the Key = Value format in the text box.
    Figure 1 Tag management
    • To add multiple tags, repeat this step.
    • To delete a tag, click next to the tag in the text box.
    • A tag key can contain up to 128 characters, and a tag value can contain up to 255 characters.
    • A tag key must be unique.
  4. Click OK.

    On the Log Management page, you can view the added tags in the Tags column of the log group.

Tagging a Log Stream

You can add, delete, modify, and view tags on the log stream list page. When you manage the tags of a single log stream, the changes will not be synchronized to other streams.

  1. Log in to the LTS console, and choose Log Management in the navigation pane on the left.
  2. Click before the name of the target log group.
  3. Move the cursor to the Tag column of the target log stream and click.
  4. In the Configure Tag dialog box displayed, enter a tag key and value, and click Add. The entered key and value are then displayed in the Key = Value format in the text box.
    Figure 2 Tag management
    • To add multiple tags, repeat this step.
    • To delete a tag, click next to the tag in the text box.
    • A tag key can contain up to 128 characters, and a tag value can contain up to 255 characters.
    • A tag key must be unique.
  5. Click OK.

    In the log stream list, you can view the system tags and added custom tags in the Tags column of the log stream.

Tagging a Host Group

You can add, delete, modify, and view tags on the host group list page. When you manage the tags of a single host group, the changes will not be synchronized to other groups.

  1. Log in to the LTS console, and choose Host Management in the navigation pane on the left.
  2. On the Host Groups tab, click in the Operation column of a host group.
  3. In the Configure Tag dialog box displayed, enter a tag key and value, and click Add. The entered key and value are then displayed in the Key = Value format in the text box.
    • To add multiple tags, repeat this step.
    • To delete a tag, click next to the tag in the text box.
    • A tag key can contain up to 128 characters, and a tag value can contain up to 255 characters.
    • A tag key must be unique.
  4. Click OK.

    On the Host Management page, you can view the added tags in the Tags column of the host group.

Tagging a Log Ingestion Configuration

You can add, delete, modify, and view tags on the log ingestion page. When you manage the tags of a single log ingestion configuration, the changes will not be synchronized to other configurations.

  1. Log in to the LTS console, and choose Log Ingestion in the navigation pane on the left.
  2. Click in the Operation column of a log ingestion configuration.
  3. In the Configure Tag dialog box displayed, enter a tag key and value, and click Add. The entered key and value are then displayed in the Key = Value format in the text box.
    • To add multiple tags, repeat this step.
    • To delete a tag, click next to the tag in the text box.
    • A tag key can contain up to 128 characters, and a tag value can contain up to 255 characters.
    • A tag key must be unique.
  4. Click OK.

    On the Log Ingestion page, you can view the added tags in the Tags column of the log ingestion configuration.