Skip to content

Alibaba Cloud SLS (Simple Log Service) ​

Connect Alibaba Cloud Simple Log Service for log analysis. SLS is queried natively: the query is pushed down to SLS over a time range and only the result is returned.

When to use ​

  • Application, access, or audit logs collected in SLS.
  • Time-bounded log analysis: aggregations, filtering, and parsing of structured log fields.

Because it is a native connector, SLS datasets are queried in SLS's own query syntax and cannot be joined with datasets from other connectors in a single query. Queries are always scoped to a time range.

Before you begin ​

Prepare an Alibaba Cloud AccessKey (ID and secret) for a RAM user with read access to the target SLS project and logstore. Grant the least privilege that allows reading those logs.

Connection settings ​

FieldRequiredDescription
EndpointYesThe SLS service endpoint for your region, e.g. cn-hangzhou.log.aliyuncs.com.
ProjectYesThe SLS project name.
AccessKey IDYesThe AccessKey ID of the RAM user.
AccessKey SecretYesThe AccessKey secret. Stored encrypted; never shown after saving.

The specific logstore is selected when the dataset is defined.

Test and save ​

Enter the fields and use Test connection. On success, choose the logstore to analyze.

Capabilities ​

  • Execution model: Native. Queries run in SLS over a time range; results are returned to Datyo. Cross-source joins are not available.
  • Analysis: Time-range queries, SQL aggregation, and parsing of JSON fields within log entries.
  • Access: Read-only.

Troubleshooting ​

  • Authentication or permission errors — confirm the AccessKey belongs to a RAM user with read access to the project and logstore; an AccessKey error reads differently from a permission error, so check both.
  • No results — widen the time range; SLS queries are always time-bounded.
  • Wrong region — set Endpoint to the region where the project resides.

Datyo · The Agent-native intelligent data analytics platform