Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

huaweicloudskillот 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 kubectl with the kubectl cce plugin for cluster access.
  • kubectl cce dependency: The kubectl cce plugin 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 LogConfig tools. LTS AGENT collection 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 ShowClusterConfig and never enable it.
  • Explicit --cli-access-key, --cli-secret-key, and optional --cli-security-token use only the supplied credentials. AK/SK must be supplied together, and a token requires that pair. They are forwarded to hcloud and kubectl cce; profile and credential environment-variable fallback are disabled. --cli-project-id or project_id can provide the target project when required. Without explicit CLI credentials, the order is ak/sk/project_id, local hcloud profile, then HW_ACCESS_KEY, HW_SECRET_KEY, and HW_PROJECT_ID.
  • LTS start_time and end_time use UTC YYYY-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 region parameter is supplied, use HW_REGION_NAME.
  • If neither source provides a region, return an error asking the user to provide region or set HW_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

Полный SKILL.md на ClawHub

Установить 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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить huawei-cloud-cce-log-analyzer с