Access Log Overview

Last updated: 2020-05-26 14:02:01

PDF

The access logs of CLB 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, which can help you better understand client requests, troubleshoot issues, and analyze user behaviors.

  • The feature of storing access logs in COS will stop accepting new enablement requests after 00:00:00, May 15, 2020 (00:00:00, April 26, 2020 for the Guangzhou region) and will be officially disused after 00:00:00, June 30, 2020. For more information, please see Announcement on the Deactivation of the Feature of Storing CLB Access Logs in COS. Please use the upgraded feature of storing access logs in CLS.
  • Access logs can be configured only for layer-7 CLB but not layer-4 CLB.
  • Currently, access logs can only be configured in certain regions. For more information, please see below.

Storage Methods

There are two methods for storing the access logs of CLB:

  • Cloud Log Service (CLS): CLS is a one-stop log service platform that provides a wide variety of log services such as log collection, storage, search, analysis, real-time consumption, and shipping. It assists you in implementing business operations, security monitoring, log auditing, and log analysis.
  • Cloud Object Storage (COS): COS is a distributed storage service designed to store a high number of files. You can easily and quickly access it to upload, download, and manage files in various formats for storage and management of massive amounts of data.
ItemStoring Access Logs in CLSStoring Access Logs in COS
Time granularity for getting logs MinuteHour
Online searchSupportedNot supported. You must download an access log for data search
Search syntaxFull-text search, key-value search, fuzzy keyword search, etc. For more information, please see Search RulesTypically full-text search
Supported regionsIt is supported in Guangzhou, Shanghai, Chengdu, Hong Kong (China), Nanjing, Beijing, Chongqing, Singapore, Mumbai, and Silicon Valley. Guangzhou, Shanghai, Beijing, Hong Kong (China)
Supported typesPublic network/private network CLBPublic network CLB

Relevant Operations