All Products
Search
Document Center

Simple Log Service:Overview of Simple Log Service SDK for Node.js

Last Updated:Oct 26, 2023

Simple Log Service SDK for Node.js encapsulates most of the major API operations of Simple Log Service. You can use Simple Log Service SDK for Node.js to call most of the major API operations of Simple Log Service in a convenient manner.

Release notes

For more information, see aliyun-sdk-js.

Sample code

Simple Log Service SDK for Node.js provides a variety of sample code for your reference and use. The following table provides links to the sample code.

GitHub source code

Description

All.js

Examples on how to write logs, query logs, query Logstores, and query log distribution

BatchGetLogs.js

Examples on how to perform batch queries

CreateLogStore.js

Examples on how to create and modify Logstores

GetLogs.js

Examples on how to query logs by using GetLogs

PutLogs.js

Examples on how to write logs by using PutLogs

Shard.js

Examples on how to manage shards