SLS SDK for Java wraps all SLS API operations for programmatic access from Java applications.
Versions
Select the appropriate version before downloading. SLS SDK for Java is available from Maven Repository and GitHub.
|
Source |
Description |
|
Maven Repository |
Download SLS SDK packages and add the required Maven dependencies. Note
Always use the latest version to avoid known issues. |
|
GitHub |
View the source code, release tags, and scenario-specific samples on Alibaba Cloud Simple Log Service SDK releases for Java. |
Sample code
The following table lists sample code for common scenarios.
|
Source code on GitHub |
Description |
|
Manage alerts. |
|
|
Pull log data. |
|
|
Create a project. |
|
|
Update service log configurations for a project. |
|
|
Manage saved searches. |
|
|
Manage shards. |
|
|
Create a Logstore. |
|
|
Manage Logtail configurations. |
|
|
Manage machine groups. |
|
|
Manage log indexes. |
|
|
Query logs. |
|
|
Write logs. |
|
|
Manage ingest processors. |
|
|
Manage MaxCompute data shipping jobs. |
|
|
Manage data shipping jobs. |
|
|
Set the signature version to V4. |