/opt/loglistener)../loglistener ak -a add -u ${uin} -r ${region} -s ${secret_id} -k ${secret_key}
Parameter | Required | Description |
uin | Yes | Target tenant's primary account UIN. |
region | Yes | Region of CLS (such as ap-guangzhou). |
secret_id | Yes | Part of the Cloud API Key, which is used to identify the API caller. Ensure that the account associated with the Cloud API key has the appropriate LogListener log collection permission. |
secret_key | Yes | Part of the Cloud API Key. SecretKey is used to encrypt signature strings and verify signatures on the server side. Ensure the account associated with the Cloud API key has the appropriate LogListener log collection permission. |
/opt/loglistener/conf/server_config directory. As illustrated, a new file in the format of {Uin}#{Region} will be added in server_config, which is the storage location for the tenant's collection configuration.
/opt/loglistener). Tenant management is performed through the ./loglistener ak command. The parameters are as follows:Parameter | Description |
-a, --action | Types of operations: supports add, update, delete. |
-u, --uin | The primary account's UIN. |
-r, --regions | Region of the configuration. |
-s, --secretid | Part of the Cloud API Key, which is used to identify the API caller. Ensure that the account associated with the Cloud API key has the appropriate LogListener log collection permission. |
-k, --secretkey | Part of the Cloud API Key. SecretKey is used to encrypt signature strings and verify signatures on the server side. Ensure the account associated with the Cloud API key has the appropriate LogListener log collection permission. |
-t, --token | Temporary key Token (optional). This field is only required for temporary key scenarios. |
./loglistener ak -a update -u ${tenant's primary account UIN} -r ${new region}
./loglistener ak -a delete -u ${tenant's primary account UIN}
피드백