tencent cloud


IA Storage

Last updated: 2022-04-06 15:28:37

    CLS provides a low-cost offline log storage solution to search and store massive infrequently accessed logs. The solution applies to scenarios where users do not have real-time log search requirements and logs need to be stored for a long time. It provides the minute-level offline log retrieval capability, meeting users' requirements for backtracking and archiving historical logs. Offline log storage does not support real-time log processing features such as monitoring alarms, streaming consumption, and real-time shipping.


    • Currently, the offline log storage solution is in beta testing, and supports only the Beijing, Guangzhou, and Chongqing regions. If the solution is not supported in the region of your log topic, contact smart customer service for application.
    • For offline storage in the beta phase, the fees for log write traffic and storage of log topics are exempted.


    • Lost cost: charges only log write traffic and storage fees, resulting in a total cost 80% lower than that of CLS real-time storage
    • Ease of use: compatible with the search syntax of Lucene, eliminating the cost for extra learning; allows users to search for data without configuring indexes
    • Stability and reliability: provides a brand-new proprietary log system with separated computing and storage, supporting scale-out, high availability, and flexibility of use


    1. Create a log topic and set Storage Class to Offline. For more information, please see Managing Log Topic.

    2. Collect logs to the target topic. For more information, please see Collection Methods.

    3. Go to the target log topic search page, and enter a search statement, for example, status: 200, to create a search task.


      The search syntax of offline storage is basically consistent with that of real-time storage. For their differences, please see Collection Methods.

    4. After the search task is created, click Offline Tasks to view the task details.

    After the task execution is completed, you can click View to view data.

    Use Limits

    Item Description
    Maximum number of offline search tasks 50 tasks per logset
    Retention time of offline search results 24 hours
    Maximum number of results supported by an offline search task 500
    Context search limits Time range: 1 hour earlier and 1 hour later of the specified point in time; maximum number of search results: 100


    What are the differences between the search syntax of offline storage and that of real-time storage?

    In principle, the search syntax of offline storage is consistent with the Lucene syntax of real-time storage. For more information, please see Syntax and Rules. Offline storage does not support the following syntax:

    Syntax Not Supported by Offline Storage Example
    Full-text keyword search and key-value search are used simultaneously, and AND and OR operators exist simultaneously (a OR key1:value1) AND b
    (a AND key1:value1) OR b
    ? for matching a single character a?
    ~ for approximate query from~
    Range query date:[20020101 TO 20030101]
    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