Log Service allows you to collect and manage logs by using the Log Service console. In addition, you can use API operations to write logs, query logs, and manage your projects and Logstores.
The following table lists the available API operations.
You can call the API operations to perform the following operations:
- Collect logs based on Logtail configuration files and Machine groups.
- Create Logstores, and then write logs to and read logs from the Logstores.
- Grant permissions to different users by using RAM.
Note
- To call the API operations, you must specify the endpoints. For more information, see Endpoints.
- Security verification is required for all API requests. For information about the signature algorithm and process, see Request signatures.
- You can manage Log Service resources by using Resource Access Management (RAM) and Security Token Services (STS). If you are a RAM user, you must provide an AccessKey pair when you call the API operations. To use an STS temporary identity, you must provide an STS token and a specific HTTP header. For more information, see Common request headers. This HTTP header is used to sign the request. For more information, see Request signatures.