tencent cloud

Feedback

Event Storage

Last updated: 2022-09-14 16:55:25
    Note:

    From now to September 5, 2022, users are exempt from CLS service fees incurred by audit log/event data generated by TKE Serverless cluster for auto-created log topics. For details, see Note on Free Log Storage for TKE Audit and Event Center.

    Overview

    Kubernetes Events contains information about the operations of Kubernetes clusters and the scheduling of various resources, which can help OPS personnel monitor daily changes in resources and locate problems. TKE Serverless cluster supports event persistence for all clusters and also supports the search of event flows by using PAAS services provided by Tencent Cloud or open-source software tools. After enabling this feature, your cluster events will be exported to the configured storage in real time. This document describes how to enable and use persistent storage of cluster events.

    Directions

    Enabling event storage

    1. Log in to the TKE console.
    2. Choose OPS Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region and select TKE Serverless Cluster as Cluster Type. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, select Enable Event Storage and configure logsets and log topics, as shown in the figure below:
    6. Click Confirm to enable event storage.

    Updating logsets or log topics

    1. Log in to the TKE console.
    2. Choose OPS Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region and select TKE Serverless Cluster as Cluster Type. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, reselect logsets and log topics. Then, click OK to update the logsets and log topics.

    Disabling event storage

    1. Log in to the TKE console.
    2. Choose OPS Feature Management in the left sidebar to go to the Feature Management page.
    3. At the top of the Feature Management page, select the region and select TKE Serverless Cluster as Cluster Type. On the right side of the cluster for which you want to enable event storage, click Set, as shown in the figure below:
    4. On the Configure Features page, click Edit for event storage.
    5. On the Event Storage editing page, deselect Enable Event Storage, as shown in the figure below:
    6. Click Confirm to disable event storage.

    Viewing event in the CLS console

    1. Log in to the CLS console.
    2. Select Log Search on the left side bar to go to the Search and Analysis page, as shown in the figure below:
    3. Select the logset and log topic configured in Event Storage, set the Showed Field as needed, and click Search and Analysis. For more information, see Log Analysis.
      Note:

      When you enable event storage, the index will be enabled for your Topic by default.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support