tencent cloud

Feedback

Offline Logs

Last updated: 2024-07-15 09:31:09

    Feature Overview

    To facilitate user access analysis by customers, EdgeOne packages access logs in hourly granularity, retains the logs for 30 days by default, and provides download services.

    Offline Log Format

    Logs are stored in JSON Lines format by default. Each JSON line represents a single log.
    Log packages are compressed in .gz format with gzip. Due to the directory system limitations in MacOS, double-click for decompression may cause an error. In this case, you can navigate to the directory containing the logs, and use the following Terminal command for decompression.
    gunzip {your_file_name}.log

    Log Packaging Rules

    Packaging in hourly granularity is adopted by default. If there are no requests for accessing your business within an hour, no log packages will be generated for the time interval.
    Since EdgeOne nodes are distributed globally, the storage time of offline logs (the time in log package filenames) is set to UTC +00:00 by default in order to synchronize all time zones.
    Offline logs are collected from various EdgeOne nodes so that they are different in latency. Generally, logs can be queried and downloaded after a delay of around 3 hours. The log packages will increase continuously and typically stabilize after around 24 hours.

    Example: Querying Offline Logs for a Specified Domain Name within a Specified Time Period

    Sample Scenario

    After you add an acceleration domain name and add www.example.com to the EdgeOne service, you shall download all site acceleration logs for www.example.com from June 23, 2024 to June 25, 2024 to perform data analysis. You can refer to the following directions.

    Directions

    1. Log in to the EdgeOne console and click Site List in the left sidebar. Then click the site of your concern in the site list, to enter the site details page.
    2. On the site details page, click Log Service > Offline Logs.
    3. On the offline logs page, select the dates from June 23, 2024 to June 25, 2024 to filter by time range. On the right side, select Site Acceleration Logs as the log type and www.example.com as the domain name. The page will automatically display the query results of logs meeting the conditions after filtering.
    
    4. In the log list obtained through query, you can download log packages as needed using the following 3 methods:
    Click Download in the Operation column, to download the log package for the corresponding domain name/L4 proxy instance and the corresponding time period.
    Click Get Download URLs, to copy the download link for the corresponding log package.
    Select the required log packages, and click Batch Get Download URLs to copy the download links for all required log packages in batch.

    Related APIs

    
    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