All Products
Search
Document Center

Simple Log Service:Read data from a Logstore by using a default role

Last Updated:Mar 19, 2024

When a MaxCompute data shipping job of the new version is running, the job must read data from a source Logstore. To meet the requirement, you can assign the default role AliyunLogDefaultRole to the data shipping job. This topic describes how to generate the default role.

Procedure

To generate the AliyunLogDefaultRole role, you only need to use the current Alibaba Cloud account to authorize Simple Log Service to access cloud resources. By default, the AliyunLogDefaultRole role has the permissions to read data from all Logstores that belong to the current Alibaba Cloud account.

  1. In the Data Shipping to MaxCompute panel, set the Read Permissions on Simple Log Service parameter to Default Role.

  2. Complete Cloud Resource Access Authorization. For more information, see Authorize access to cloud resources.

After you configure the settings, the MaxCompute data shipping job of the new version assumes the AliyunLogDefaultRole role to read data from the source Logstore.默认角色