Alicloud Observability Sls Log Query Test

🌐Community
by cinience · vlatest · Repository

Helps with querying, testing as part of automating DevOps pipelines and CI/CD workflows workflows.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add alicloud-observability-sls-log-query-test npx -- -y @trustedskills/alicloud-observability-sls-log-query-test
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "alicloud-observability-sls-log-query-test": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/alicloud-observability-sls-log-query-test"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to query and test Alibaba Cloud's Software Logging Service (SLS) logs as part of DevOps pipelines and CI/CD workflows. It performs a basic query within a 5-minute window, records the execution time and number of returned rows, and captures any errors encountered. The goal is to verify SLS log query functionality and performance.

When to use it

  • Automating validation steps in CI/CD pipelines for applications using Alibaba Cloud's SLS.
  • Testing the responsiveness and accuracy of SLS queries after configuration changes.
  • Troubleshooting issues related to SLS access or query execution within a DevOps workflow.
  • Verifying the health of your logging infrastructure by periodically running this test.

Key capabilities

  • Executes basic SLS log queries (e.g., * | select count(*)).
  • Records query execution time and returned row counts.
  • Captures complete error codes in case of failure.
  • Verifies successful query returns statistics or diagnostic errors.

Example prompts

  • "Run the SLS log query test."
  • "Execute the basic SLS query and report the results."
  • "Test the SLS logging configuration and record any errors."

Tips & gotchas

  • Prerequisites: Requires environment variables ALIBABACLOUD_ACCESS_KEY_ID, ALIBABACLOUD_ACCESS_KEY_SECRET, SLS_ENDPOINT, SLS_PROJECT, and SLS_LOGSTORE to be configured.
  • The skill performs a basic query; more complex queries are not supported by this test.
  • Failure will result in the recording of a complete error code for diagnostic purposes.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
cinience
Installs
125

🌐 Community

Passed automated security scans.