Access Log Overview

Last updated: 2021-04-15 11:25:05

    CLB supports configuring access logs to collect and record the details of each client request, such as the request time, request path, client IP and port, return code, and response time. This feature can help you better understand client requests, troubleshoot issues, and analyze user behaviors.

    Note:

    • Only Layer-7 CLB supports configuring access logs.
    • This feature is only available in regions listed below.

    Storage Methods

    • CLB access logs can be stored in Cloud Log Service (CLS): CLS is a one-stop log service platform that provides a variety of log services including log collection, storage, search, analysis, real-time export, and shipping. It assists you in implementing business operations, security monitoring, log audit, and log analysis.
    Item Storing Access Logs in CLS
    Time granularity for log obtainment Minute
    Online search Supported
    Search syntax Full-text search, key-value search, fuzzy keyword search, etc. For more information, please see Legacy CLS Search Syntax.
    Supported regions Guangzhou, Shanghai, Nanjing, Beijing, Chengdu, Chongqing, Hong Kong (China), Singapore, Mumbai, Seoul, Tokyo, Silicon Valley, Virginia, Toronto, Frankfurt.
    Supported CLB type Public network/private network CLB
    Upstream and downstream links CLS logs can be shipped to COS, and exported to CKafka for further processing.
    Log retention Tencent Cloud does not store access logs by default. The storage feature can be configured as needed.

    Relevant Operations