Simple Log Service SDK for Java encapsulates all API operations of Simple Log Service. You can use Simple Log Service SDK for Java to call all API operations of Simple Log Service.
Versions
Before you download Simple Log Service SDK for Java, make sure that you select the required version of the SDK. Simple Log Service uses Maven Repository and GitHub to manage the paths used to download the source code and provides sample code for your reference.
Source | Description |
Source | Description |
Maven Repository | Maven Repository provides the paths used to download the source code packages of Simple Log Service SDK. The packages include the dependencies that you must add to your Maven project when you call Simple Log Service SDK. We recommend that you obtain the latest version of Simple Log Service SDK for Java for debugging to prevent errors. For more information, see Alibaba Cloud Simple Log Service SDK for Java. |
GitHub | GitHub provides the source code of Simple Log Service SDK and records the tag information of the releases of Simple Log Service SDK. You can view the source code and sample code that you can use in various scenarios on GitHub. For more information, see Alibaba Cloud Simple Log Service SDK releases for Java. |
Sample code
Simple Log Service SDK for Java provides sample code that you can use or reference in various scenarios. The following table provides links to the sample code.
Source code on GitHub | Description |
Source code on GitHub | Description |
Includes sample code that describes how to manage alerts. | |
Includes sample code that describes how to pull log data. | |
Includes sample code that describes how to create a project. | |
Includes sample code that describes how to update the service log configurations of a project. | |
Includes sample code that describes how to manage saved searches. | |
Includes sample code that describes how to manage shards. | |
Includes sample code that describes how to create a Logstore. | |
Includes sample code that describes how to manage Logtail configurations. | |
Includes sample code that describes how to manage machine groups. | |
Includes sample code that describes how to manage log indexes. | |
Includes sample code that describes how to query logs. | |
Includes sample code that describes how to write logs. | |
Includes sample code that describes how to manage ingest processors. | |
Includes sample code that describes how to manage MaxCompute data shipping jobs. | |
Includes sample code that describes how to manage data shipping jobs. | |
Includes sample code that describes how to set the signature version to V4. |