huawei-cloud-cce-log-analyzer
БесплатноЗапускает вложенные скриптыНе проверенQuery and analyze Huawei Cloud CCE workload, audit, and control-plane logs. Use when investigating CCE logs, Kubernetes logs, Pod logs, application logs…
от huaweicloudskill340 установок в других каталогахОб этом скилле
Huawei Cloud CCE Log Analyzer
Overview
Use this skill for read-only log queries and analysis, or for confirmed management of CCE LogConfig and LTS Access Config collection rules. It does not modify workloads, log groups, log streams, LTS log data, or unrelated cloud resources.
| Need | Use |
|---|---|
| Pod stdout/stderr or previous container output | Pod log tools |
| Application logs collected to LTS | Application log workflow; locate by namespace + app_name or use a rule selector |
| Pod/workload operation history and actor | Audit log tools |
| API status codes and latency | kube-apiserver log tools |
| Pending Pods and scheduler decisions | kube-scheduler log tools |
| Create or remove collection rules | LogConfig or LTS Access Config tools with preview and confirmation |
Prerequisites
- Python 3.8+,
hcloud(≥ 7.2.2), and credentials with the required CCE and LTS permissions. - Pod stdout and CCE LogConfig tools require
kubectlwith thekubectl cceplugin for cluster access. - kubectl cce dependency: The
kubectl cceplugin provides CCE cluster access. Install it through the dedicated kubectl-cce installer skill. Follow the plugin usage contract. - The Cloud Native Logging add-on is required for CCE
LogConfigtools. LTSAGENTcollection requires a healthy iCagent. - Audit, kube-apiserver, and kube-scheduler tools require their matching CCE Log Center switch. The tools check the switch through
CCE ShowClusterConfigand never enable it. - Explicit
--cli-access-key,--cli-secret-key, and optional--cli-security-tokenuse only the supplied credentials. AK/SK must be supplied together, and a token requires that pair. They are forwarded to hcloud andkubectl cce; profile and credential environment-variable fallback are disabled.--cli-project-idorproject_idcan provide the target project when required. Without explicit CLI credentials, the order isak/sk/project_id, local hcloud profile, thenHW_ACCESS_KEY,HW_SECRET_KEY, andHW_PROJECT_ID. - LTS
start_timeandend_timeuse UTCYYYY-MM-DD HH:MM:SS. If omitted, the tools generate a recent UTC window.
Environment Variables
| Environment Variable | Required | Description |
|---|---|---|
SKILL_QUALITY_ENDPOINT |
No | Reporting endpoint, default https://skillsapi.developer.myhuaweicloud.com/api/quality/report |
SKILL_QUALITY_NAME |
No | Skill name (auto-detected) |
SKILL_QUALITY_DISABLE |
No | Set to 1 to disable reporting (local debugging) |
SKILL_QUALITY_TIMEOUT |
No | Report timeout in seconds (default 3) |
Region Selection
- Use
region=<region>from the current user request or established task context when it is available. - If no
regionparameter is supplied, useHW_REGION_NAME. - If neither source provides a region, return an error asking the user to provide
regionor setHW_REGION_NAME. Do not infer a target region from an hcloud profile or any other environment variable.
Core Commands And Tool Routing
| Tool | Risk | Purpose |
|---|---|---|
huawei_get_pod_stdout_logs |
R3 | Get current or previous Pod stdout/stderr |
huawei_analyze_pod_stdout_realtime_logs |
R3 | Sample newly produced Pod stdout and analyze it |
huawei_get_cce_logconfigs |
R3 | List CCE Cloud Native Logging rules |
huawei_list_lts_access_configs |
R3 | List LTS collection rules |
huawei_query_application_logs |
R3 | Query application logs from an explicit or uniquely discovered collection rule |
huawei_analyze_application_logs |
R3 | Analyze application logs from an explicit or uniquely discovered collection rule |
huawei_query_cce_audit_logs |
R3 | Query retained Kubernetes audit events |
huawei_analyze_cce_audit_timeline |
R3 | Build a resource change timeline from audit events |
huawei_query_kube_apiserver_logs |
R3 | Query kube-apiserver control-plane logs |
huawei_analyze_kube_apiserver_logs |
R3 | Analyze API status codes, errors, and latency |
huawei_query_kube_scheduler_logs |
R3 | Query kube-scheduler control-plane logs |
huawei_analyze_kube_scheduler_logs |
R3 | Analyze scheduling, binding, preemption, and leader-election messages |
huawei_create_cce_logconfig |
R2 | Preview and create a CCE LogConfig rule |
huawei_create_lts_access_config |
R2 | Preview and create an LTS Access Config rule |
huawei_delete_cce_logconfig |
R1 | Preview and remove a CCE LogConfig rule |
huawei_delete_lts_access_config |
R1 | Preview and remove an LTS Access Config rule |
Use python3 scripts/huawei-cloud.py help to print the available actions and required parameters. Full invocation and parameter details are in references/tool-reference.md.
Parameters And Collection Scope
Input Parameter Validation
Required parameters must be provided before execution. A required `cluste
Установить huawei-cloud-cce-log-analyzer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл huawei-cloud-cce-log-analyzer?
Query and analyze Huawei Cloud CCE workload, audit, and control-plane logs. Use when investigating CCE logs, Kubernetes logs, Pod logs, application logs, audit logs, LTS logs, kube-apiserver logs, kube-scheduler logs, log analysis, log collection, 日志查询, 日志分析, 审计日志, 调度器日志.
Как установить скилл huawei-cloud-cce-log-analyzer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huawei-cloud-cce-log-analyzer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic