Alibabacloud Sls Query
Query and analyze Alibaba Cloud SLS logs with index search, SQL, and SPL through the aliyun CLI.
- CCM score
- 70 of 100
- skills.sh installs
- 2.3K
- GitHub stars
- 303
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full query workflow: read index config, pick a query mode, build the statement, resolve the time range, and execute
- Includes reference guides for SQL and SPL syntax, functions, related APIs, and RAM policies
- Enforces a mandatory
get-indexcheck first, since index configuration decides which query modes are available - Designed for users who explain, optimize, run, or troubleshoot SLS log queries from a terminal session
Install
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-query -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Alibaba Cloud SLS Query & Analysis
Scenario Description
Use this skill when the user wants to:
- Explain, rewrite, optimize or execute an existing query
- Translate a natural-language requirement into an SLS index query, SQL, or SPL statement
Prerequisites
Install Aliyun CLI
Run aliyun version to verify if version >= 3.3.8. If not installed or outdated, follow the doc references/cli-installation-guide.md to install or update.
Update Plugins
aliyun plugin update
Check Alibaba Cloud credentials configured
Run aliyun configure list to check if credentials configured.
If no valid profile is shown, STOP here and ask the user to run aliyun configure outside of this session.
Security rules:
- NEVER read, echo, or print AK/SK values
- NEVER ask the user to paste AK/SK into the conversation
- ONLY use
aliyun configure listto check credential status
RAM Permission Requirements
Details
- Repository
- github.com/aliyun/alibabacloud-aiops-skills
- Categories
- DevOps & Cloud, Data Science & Analytics, Databases
- First seen
- Jun 3, 2026
Questions
What does the alibabacloud-sls-query skill do?
alibabacloud-sls-query helps users write, explain, optimize, execute, or troubleshoot Alibaba Cloud SLS index search, SQL analytics, and SPL scan and pipeline statements through the aliyun CLI. It turns natural-language log requirements into SLS queries and reads the results back.
How do I install the alibabacloud-sls-query skill?
Run npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sls-query -y in a project to install it. Once installed, alibabacloud-sls-query lets the agent run SLS log queries and analytics for you.
What does alibabacloud-sls-query need before it can run?
alibabacloud-sls-query needs the aliyun CLI at version 3.3.8 or later and a configured Alibaba Cloud credential profile. It also needs RAM permissions for log:GetLogStoreLogs and log:GetIndex on the target Logstore, and the Logstore must already have an index.
Which skills lead the DevOps & Cloud category that alibabacloud-sls-query sits in?
alibabacloud-sls-query is listed in the DevOps & Cloud category on Claude Marketplaces. Its neighbors there include the Azure skills azure-diagnostics, azure-prepare and azure-deploy, while alibabacloud-sls-query focuses on Alibaba Cloud log query and analysis.
More from aliyun/alibabacloud-aiops-skills
All 28- Alibabacloud Find Skills2.3K
- Alibabacloud Dms Skill2.1K
- Alibabacloud Ecs Diagnose707
- Alibabacloud Cli Guidance625
- Alibabacloud Ram Permission Diagnose572
- Alibabacloud Dataworks Datastudio Develop525
- Alibabacloud Bailian Rag Knowledgebase451
- Alibabacloud Rds Copilot438
- Alibabacloud Das Agent397
- Alibabacloud Dataworks Data Ops380
- Alibabacloud Resourcecenter Search358
- Alibabacloud Dataworks Workspace Manage306
- Alibabacloud Odps Project Manage295
- Alibabacloud Cms Alert Rule Create290
- Alibabacloud Network Reachability Analysis278
- Alibabacloud Oss Manage Cron Upload263
- Alibabacloud Iqs Search258
- Alibabacloud Governance Evaluation Report242
- Alibabacloud Flink Instance Manage241
- Alibabacloud Dataworks Infra Manage238
- Alibabacloud Oss Manage Network Probe228
- Alibabacloud Oss Manage Metaquery225
- Alibabacloud Hologres Instance Manage223
- Alibabacloud Odps Quota Manage210
Similar to Alibabacloud Sls Query
More DevOps & Clouddetectlaunchdarkly/ai-tooling2.3K installsdetect
dd-apmdatadog-labs/agent-skills2.3K installsAPM - install, onboard, instrument, enable, set up, configure, traces, services, dependencies, performance analysis. Use for any request involving Datadog APM s
vercel-deploybytedance/deer-flow2.2K installsDeploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Crea
jenkins-pipelineaj-geddes/useful-ai-prompts2.2K installsBuild Jenkins declarative and scripted pipelines with stages, agents, parameters, and plugins. Implement multi-branch pipelines and deployment automation.
logfire-querypydantic/skills2.2K installsQuery and analyze Logfire telemetry data — traces, logs, spans, metrics, summaries, and SQL results. Use this skill when the user asks to "query logfire", "sear
modalk-dense-ai/scientific-agent-skills2.2K installsModal is a serverless cloud platform for running Python on demand, including on-demand GPUs. Use when deploying or serving AI/ML models, running GPU-accelerated