doc-exports/docs/lts/umn/lts_04_0003.html
Hasko, Vladimir 4ab0cf8c88 LTS UMN 0929 (recreate of #277)
Reviewed-by: Kucerak, Kristian <kristian.kucerak@t-systems.com>
Co-authored-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-committed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
2022-12-02 09:59:13 +00:00

5.0 KiB

Managing Log Groups

A log group is a group of log streams which share the same log retention settings. Up to 100 log groups can be created for a single account.

Creating a Log Group

  1. Log in to the LTS console, choose Log Management in the navigation pane on the left, and click Create Log Group in the upper right corner.

  2. In the dialog box displayed, enter a log group name. After a log group is created, its name cannot be changed. A log group name:
    • Can contain only letters, digits, hyphens (-), underscores (_), and periods (.).
    • Cannot start with a period (.) or underscore (_), and cannot end with a period (.).
    • Can contain 1 to 64 characters.

    Collected logs are sent to the log streams in the log group. If there are too many logs to collect, you are advised to separate logs into different log groups based on log types, and name log groups in an easily identifiable way.

  3. Log retention duration is 7 days by default and cannot be modified.

  4. Click OK.
  5. In the log group list on the Log Management page, you can view details of the log group, including log group name, log retention duration, creation time, and creation type.

Deleting a Log Group

You can delete a log group that is no longer needed. Deleting a log group will also delete the log streams and log data in the log group. Deleted log groups cannot be recovered. Exercise caution when performing the deletion.

If you want to delete a log group that is associated with a log transfer task, delete the task first.

  1. In the log group list on the Log Management page, locate the target log group and click Delete in the Operation column.
  2. Enter DELETE and click Yes.