cls-query
CommunityInstantly query and analyze Tencent Cloud CLS logs.
Authorslowman2084
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill makes it easy to search, filter, and analyze logs stored in Tencent Cloud CLS so engineers can troubleshoot issues, investigate incidents, and produce aggregated metrics without manually crafting signed API requests.
Core Features & Use Cases
- Search & Retrieval: Run raw or structured searches using CQL or Lucene against a specific TopicId and retrieve paginated results.
- SQL-style Analysis: Support SELECT-style aggregations for counts, group-bys, histograms and approximate distinct (HyperLogLog).
- Flexible Configuration: Load credentials and endpoint from CLI arguments, environment variables, or a .env file with a clear precedence.
- Use Cases: Investigate error spikes, compute status-code distributions, count unique instance_ids, and export query results for reporting.
Quick Start
Use cls-query to search a TopicId for error logs between two millisecond timestamps using your configured CLS credentials.
Dependency Matrix
Required Modules
requestspython-dotenv
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cls-query Download link: https://github.com/slowman2084/meta-agent/archive/main.zip#cls-query Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.