alicloud-observability-sls-log-query-test

Validate Alibaba Cloud SLS log queries with SDK authentication and duration metrics.

396|34|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-observability-sls-log-query-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alicloud-observability-sls-log-query-test
Source: https://github.com/cinience/alicloud-skills/tree/main/tests/observability/sls/alicloud-observability-sls-log-query-test
Command: npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-observability-sls-log-query-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a minimal smoke test to validate the core functionality of querying logs within Alibaba Cloud's Simple Log Service (SLS).

Core Features & Use Cases

  • SDK Authentication Validation: Ensures that the necessary Alibaba Cloud SDK credentials and configurations are correctly set up for SLS.
  • Basic Query Execution: Executes a simple log query within a specified time window to confirm connectivity and basic query parsing.
  • Use Case: Before deploying critical monitoring or alerting systems that rely on SLS log data, run this test to ensure the underlying log query mechanism is operational.

Quick Start

Execute a 5-minute window basic query like '*' and record the duration and row count.

Frequently Asked Questions about alicloud-observability-sls-log-query-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test Alibaba Cloud SLS log query connectivity before deploying monitoring systems?

To test Alibaba Cloud SLS log query connectivity, execute a minimal smoke test that validates SDK authentication and runs a bounded query within a 5-minute window to confirm operational status.

What does an SLS smoke test validate for log queries?

An SLS smoke test validates that Alibaba Cloud SDK credentials are correctly configured and that the system can successfully execute a basic log query, parse data, and return row counts.

How do I verify Alibaba Cloud SDK authentication for Simple Log Service?

Verify Alibaba Cloud SDK authentication for Simple Log Service by running a basic query execution test that confirms credential setup and measures query duration against live log data.

Can I measure SLS query duration and row count with a basic test?

Yes, you can measure SLS query duration and row count by executing a simple wildcard query within a specified 5-minute time window and recording the performance metrics returned.

Why does my Alibaba Cloud SLS log query test fail with authentication errors?

Alibaba Cloud SLS log query tests fail with authentication errors when SDK credentials are incorrectly configured, causing the smoke test to log detailed error codes upon connection failure.

Are there limitations to testing SLS log queries with a minimal smoke test?

A limitation of testing SLS log queries with a minimal smoke test is that it only validates a bounded 5-minute window, which may not reflect complex query parsing or large-scale data retrieval performance.