tencent cloud

Feedback

Event Storage

Last updated: 2023-05-06 17:36:46
    Note
    Users are exempted from CLS service fees incurred by audit and event data generated by TKE until June 30, 2022. Users can opt to automatically create a new logset or to automatically create log topics within an existing logset.

    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 supports event persistence for all clusters. After enabling this feature, your cluster events will be exported to the configured storage in real time. TKE also supports the search of event flows by using PaaS services provided by Tencent Cloud or open-source software tools. This document describes how to enable persistent storage of cluster events.

    Directions

    Enabling event storage

    1. Log in to the TKE console.
    2. Click Operation Management in the left sidebar.
    3. At the top of the Feature Management page, select a region and a cluster type. Locate the target cluster and click Settings on the right, as shown below:
    
    4. On the Configure features page, click Edit on the right for event storage. Select Enable Event Storage and configure a logset and a log topic, as shown below:
    Note
    A logset can contain up to 10 log topics. If you choose automatic creation of log topics, ensure that the selected logset contains less than 10 log topics.
    
    5. Click OK to enable event storage.

    Updating logsets or log topics

    1. Log in to the TKE console.
    2. Click Operation Management in the left sidebar.
    3. At the top of the Feature Management page, select a region and a cluster type. Locate the target cluster and click Settings on the right.
    4. On the Configure features page, click Edit on the right for event storage. Re-select a logset and a log topic, as shown below:
    
    5. Click OK to update the logset and log topic.

    Disabling event storage

    1. Log in to the TKE console.
    2. Click Operation Management in the left sidebar.
    3. At the top of the Feature Management page, select a region and a cluster type. Locate the target cluster and click Settings on the right.
    4. On the Configure features page, click Edit on the right for event storage. Deselect Enable Event Storage, as shown below:
    
    5. Click OK to disable event storage.

    Viewing events in the CLS console

    1. Log in to the CLS console.
    2. In the left sidebar, click Search and Analysis.
    3. On the page that appears, select the logset and log topic configured for event storage, configure display fields according to needs, and perform a search and analysis, as shown below:
    Note:
    When you enable event storage, indexing will be enabled for your log 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