This topic describes how to download a specific page of logs in CSV format, or all logs in TXT format, to a local host.


  1. Log on to the Log Service console, and then click the target project name.
  2. In the LogSearch column, click Search.
  3. On the Raw Logs tab page, click the icon .
  4. Select the method to download logs.
    • Click Download Log in Current Page to download logs of the current page in the CSV format to your local host.
    • Click Download all logs in the CLI console to download all logs by using the CLI tool.

      1. Install the command line tool. For more information, see Log Service CLI User Guide.
      2. Select Security information management to copy your AccessID and AccessKey.
      3. Select Copy Command, and use the AccessID and AccessKey copied in the preceding step to replace 【AccessID obtained in step 2】 and 【AccessKey obtained in step 2】 in the command.
      4. Run the command in the CLI tool to download logs.
        Note The logs are downloaded to the download_data.txt file. This file is located in the directory where the command was run.