This topic describes how to download logs from Log Service to an on-premises host.
Background information
You can use the Log Service console, Cloud Shell, Log Service command line interface
(CLI), and SDKs to download logs. Differences between these methods are described
in the following table.
Item | Log Service console | CLI | Cloud Shell | SDK |
---|---|---|---|---|
Maximum download volume |
|
Hundreds of thousands of log entries | Less than and equal to 100,000 log entries | Unlimited |
Deployment | N/A | Manual installation | Automatic deployment | Manual deployment |
AccessKey pair | N/A | Manual configuration | Automatic configuration | Manual configuration |
Download over LAN (no cost for data transfer traffic over Internet) | N/A | Supported. The Log Service CLI must be deployed in the region where the corresponding Elastic Compute Service (ECS) instance resides. | Supported. Cloud Shell must be deployed in the China (Shanghai) region. | Supported. The SDK must be deployed in the region where the corresponding ECS instance resides. |
Integration with Apsara File Storage NAS | N/A | Manual configuration | Automatic configuration | Manual configuration |