vmware-log-insight
БесплатноБез исполняемых скриптовНе проверенUse this skill whenever the user needs to search, aggregate, or investigate centralized logs in VMware VCF Operations for Logs (formerly Aria Operations for…
от zw0082 654 установки в других каталогахОб этом скилле
VMware Log Insight
Self-test: guide.
Disclaimer: Community-maintained open-source project, not affiliated with, endorsed by, or sponsored by VMware, Inc. or Broadcom Inc. "VMware", "vSphere", and "Aria" are trademarks of Broadcom. Source is publicly auditable under the MIT license.
Read-only log search and aggregation for VMware Aria Operations for Logs (vRealize Log Insight) — the centralized-log data source for the VMware skill family. Strictly non-destructive: it queries, it never writes.
What This Skill Does
| Category | Tools | Count | Read or Write |
|---|---|---|---|
| Log search | search_logs |
1 | Read |
| Aggregation / spikes | aggregate_logs |
1 | Read |
| Metadata | list_log_fields, get_log_insight_version |
2 | Read |
| Alerts | list_log_alerts, get_log_alert, get_log_alert_history |
3 | Read |
7 tools, all read-only. No ingest, no alert creation/edit/delete — zero write surface.
Quick Install
uv tool install vmware-log-insight==2.4.4
cp config.example.yaml ~/.vmware-log-insight/config.yaml # then edit
vmware-log-insight doctor # verify connectivity
When to Use This Skill
Use it to read the actual log lines behind an incident — what an ESXi host's vmkernel logged, vCenter vpxd errors, a login storm in VM syslog — and to find when log volume spiked.
- vCenter events/alarms (not raw syslog)? → vmware-monitor
- Performance metrics / anomalies / capacity? → vmware-aria
- Correlate logs + events + metrics into one root-cause view? → vmware-debug
Do NOT use when there is no Log Insight appliance, or the user wants vCenter alarms (monitor) or metric anomalies (aria). This skill only reads the log store.
Related Skills — Skill Routing
| Need | Skill |
|---|---|
| Raw centralized logs + spikes | vmware-log-insight (this) |
| vCenter events & alarms | vmware-monitor |
| Metrics, anomalies, capacity | vmware-aria |
| Incident correlation / root cause | vmware-debug (feed it search_logs output) |
| Network logs / DFW / traceflow | vmware-nsx, vmware-nsx-security |
Common Workflows
1. "Find the errors on a host in the last hour"
search_logs(text="error", last="1h")— or CLI:vmware-log-insight search -q error -l 1h. There is no host filter parameter: read each event'sfields.hostname/fields.source, or put the host name intext(whole words match, and dots split words:esx01findsesx01.lab.local;esx0finds nothing,esx0*does).- Read the
events[](timestamp + text + fields). Narrow with a more specifictextifcomplete=False(result was truncated). - Failure branch — auth/connection error: the teaching message names the cause (e.g. "503: appliance starting up"); run
vmware-log-insight doctor. A 503 is a status, not a crash.
2. "Was there a log spike, and when?"
aggregate_logs(text="...", last="6h", bin_width_ms=300000)— counts per 5-minute bin +spikes[](z-score flagged).- Take a spike's
timestamp_ms, thensearch_logs(begin_ms=..., end_ms=...)around it to read what burst. - Failure branch — empty bins: widen
lastor drop thetextfilter; confirm the appliance actually receives logs from the source. The appliance omits bins with no events; for COUNT and UCOUNT the tool adds them back as 0 (filled_empty_bins: true), so a burst after a quiet stretch still shows as a spike. - Distinct hosts per bin:
aggregate_logs(aggregation="UCOUNT", field="hostname"). Only COUNT and SAMPLE take nofield; the other seven need one (names fromlist_log_fields).
3. Correlate logs into a root-cause timeline
search_logs/aggregate_logshere for the log signal.- Pull vCenter events (vmware-monitor) and metrics/anomalies (vmware-aria) for the same window/entity.
- Hand all of them to vmware-debug
build_incident_timeline(normalise to its event envelope) to rank root causes.
Usage Mode
- MCP (in an agent): call
search_logs/aggregate_logs, then pass results to vmware-debug. Primary mode. - CLI (humans):
vmware-log-insight search -q "apd" -l 2h.
MCP Tools (7 — 7 read, 0 write)
| Category | Tools |
|---|---|
| Logs | search_logs (time window + text), aggregate_logs (COUNT/SAMPLE, or UCOUNT/AVG/MIN/MAX/SUM/STDDEV/VARIANCE of a field, + spike detection), list_log_fields, get_log_insight_version |
| Alerts | list_log_alerts, get_log_alert, get_log_alert_history |
List envelope: list_log_fields, list_log_alerts and get_log_alert_history return
{items, returned, limit, total, truncated, hint} rather than a bare list — read
the rows from items, and treat truncated: true as "there is more, raise
limit or narrow the filter". For fields and alerts total is a real count (the
appliance returns the whole collection in one GET and limit is applied here). Alert
history is paged by the
Установить vmware-log-insight в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashFAQ
Что делает скилл vmware-log-insight?
Use this skill whenever the user needs to search, aggregate, or investigate centralized logs in VMware VCF Operations for Logs (formerly Aria Operations for Logs / vRealize Log Insight) — the appliance that collects syslog from ESXi hosts, vCenter, and VMs. It is the log data source of the VMware family: full-text event search over a time window, aggregation with spike detection, field discovery, and alert queries. Always use this skill for "search the logs", "what did the host log", "find errors in Log Insight", "show me a log spike", "query vRealize Log Insight", "Aria Operations for Logs", "VCF Operations for Logs" when the context is explicitly VMware/vSphere/ESXi. It is strictly READ-ONLY — it never ingests, edits, or deletes anything. Do NOT use it for vCenter events/alarms (use vmware-monitor) or for performance metrics and anomalies (use vmware-aria). To correlate logs with events from other sources into one root-cause timeline, hand results to vmware-debug.
Как установить скилл vmware-log-insight?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vmware-log-insight запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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