Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cinience avatar

Alicloud Observability Sls Log Query Test

  • 294 installs
  • 396 repo stars
  • Updated July 18, 2026
  • cinience/alicloud-skills

alicloud-observability-sls-log-query-test is a Claude Code skill that queries and validates Alibaba Cloud Log Service (SLS) logs for incidents, audit trails, and service health during production operations.

About

alicloud-observability-sls-log-query-test is part of cinience/alicloud-skills and focuses on Alibaba Cloud Simple Log Service (SLS). The skill helps agents construct log queries, validate query results, and confirm audit or health signals during incident response or routine ops reviews. Developers reach for it when debugging production services on AliCloud and need repeatable SLS query patterns instead of manual console trial and error.

  • Alibaba Cloud SLS log queries
  • Production observability workflows
  • Incident triage and audit trails
  • Service health signal extraction
  • Operational log test harness

Alicloud Observability Sls Log Query Test by the numbers

  • 294 all-time installs (skills.sh)
  • Ranked #337 of 1,435 DevOps & CI/CD skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cinience/alicloud-skills --skill alicloud-observability-sls-log-query-test

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs294
repo stars396
Last updatedJuly 18, 2026
Repositorycinience/alicloud-skills

How do you query Alibaba Cloud SLS logs?

Query and validate Alibaba Cloud SLS logs for incidents, audit trails, and service health during ongoing production operations.

Who is it for?

SREs and backend developers operating Alibaba Cloud workloads who investigate incidents via SLS log queries.

Skip if: Greenfield projects with no SLS log shipping or teams standardized on non-AliCloud observability stacks.

When should I use this skill?

User asks to query, search, or validate Alibaba Cloud SLS logs for incidents or service health.

What you get

SLS query results, incident log excerpts, audit trail confirmations, and service health validation reports.

  • query results
  • incident log summary

Files

SKILL.mdMarkdownGitHub ↗

Category: service

Cloud Backup

Use Alibaba Cloud OpenAPI (RPC) with official SDKs or OpenAPI Explorer to manage resources for Cloud Backup.

Workflow

1) Confirm region, resource identifiers, and desired action. 2) Discover API list and required parameters (see references). 3) Call API with SDK or OpenAPI Explorer. 4) Verify results with describe/list APIs.

AccessKey priority (must follow)

1) Environment variables: ALIBABACLOUD_ACCESS_KEY_ID / ALIBABACLOUD_ACCESS_KEY_SECRET / ALIBABACLOUD_REGION_ID Region policy: ALIBABACLOUD_REGION_ID is an optional default. If unset, decide the most reasonable region for the task; if unclear, ask the user. 2) Shared config file: ~/.alibabacloud/credentials

API discovery

  • Product code: hbr
  • Default API version: 2017-09-08
  • Use OpenAPI metadata endpoints to list APIs and get schemas (see references).

High-frequency operation patterns

1) Inventory/list: prefer List* / Describe* APIs to get current resources. 2) Change/configure: prefer Create* / Update* / Modify* / Set* APIs for mutations. 3) Status/troubleshoot: prefer Get* / Query* / Describe*Status APIs for diagnosis.

Minimal executable quickstart

Use metadata-first discovery before calling business APIs:

python scripts/list_openapi_meta_apis.py

Optional overrides:

python scripts/list_openapi_meta_apis.py --product-code <ProductCode> --version <Version>

The script writes API inventory artifacts under the skill output directory.

Output policy

If you need to save responses or generated artifacts, write them under: output/aliyun-hbr-backup/

Validation

mkdir -p output/aliyun-hbr-backup
for f in skills/backup/aliyun-hbr-backup/scripts/*.py; do
  python3 -m py_compile "$f"
done
echo "py_compile_ok" > output/aliyun-hbr-backup/validate.txt

Pass criteria: command exits 0 and output/aliyun-hbr-backup/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/aliyun-hbr-backup/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Prerequisites

  • Configure least-privilege Alibaba Cloud credentials before execution.
  • Prefer environment variables: ALIBABACLOUD_ACCESS_KEY_ID, ALIBABACLOUD_ACCESS_KEY_SECRET, optional ALIBABACLOUD_REGION_ID.
  • If region is unclear, ask the user before running mutating operations.

References

  • Sources: references/sources.md

Related skills

FAQ

What is alicloud-observability-sls-log-query-test used for?

alicloud-observability-sls-log-query-test helps developers query and validate Alibaba Cloud SLS logs during incidents, audits, and health checks. The skill encodes repeatable query and verification steps for operational troubleshooting.

Does this skill work outside production operations?

alicloud-observability-sls-log-query-test is aimed at live SLS log stores during operate/monitoring work. Pre-production teams can use it if logs are already shipping to SLS, but it is not a substitute for application unit tests.

DevOps & CI/CDmonitoringinfra

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.