tencent cloud

피드백

Index Configuration

마지막 업데이트 시간:2024-01-20 17:11:57

    How do I enable indexing configuration?

    Index configuration is a necessary condition for using CLS for log search and analysis; that is, log search and analysis can be performed only after indexing is enabled. It is strongly recommended that you enable indexing.
    Directions
    1. Log in to the CLS console.
    2. Click Log Topic on the left sidebar to enter the log topic list page.
    3. Click the target log topic ID/name to enter the log topic management page.
    4. Click the Index Configuration tab and click Edit to enter the index configuration page.
    5. Toggle on Index Status to enable indexing.
    6. You can further enable Full-Text Index or Key-Value Index.
    Full-Text Index: Allows you to search for logs by keywords.
    Key-Value Index: Allows you to search for logs by fields. Before enabling Key-Value Index, ensure that the log extraction mode in the log collection configuration is the structured mode (that is, logs are parsed into key-value pairs).

    How do I enable key-value indexing configuration?

    In key-value indexing, a raw log is split into multiple segments based on a field (key:value), and indexes are created based on the segments. You can search for logs based on key-value (key-value search). We strongly recommend you enable key-value indexing to maximize log search efficiency.
    Note:
    Before enabling key-value indexing, ensure that the log extraction mode in the log collection configuration is the structured mode (that is, logs are parsed into key-value pairs).
    Directions
    1. Log in to the CLS console.
    2. Click Log Topic on the left sidebar to enter the log topic list page.
    3. Click the target log topic ID/name to enter the log topic management page.
    4. Click the Index Configuration tab and click Edit to enter the index configuration page.
    5. Toggle on Key-Value Index to enable key-value indexing.
    6. After enabling key-value indexing, you can also click Auto Configure to enable the system to automatically get the latest log collected as a sample and parse the fields in it into key-value indexes. You can perform fine tuning on the basis of automatic configuration to quickly obtain the final index configuration information.
    
    문의하기

    고객의 업무에 전용 서비스를 제공해드립니다.

    기술 지원

    더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

    연중무휴 24시간 전화 지원