log_search
Search VMware Log Insight events within a time window to find actual log lines behind incidents. Supports free-text queries and relative or absolute time ranges.
Instructions
[READ] Search Log Insight events within a time window.
WHEN: to find the actual log lines behind an incident (e.g. what vmkernel logged during a storage event). For "where did logs burst?" use log_aggregate instead; for vCenter alarms use vmware-monitor.
INPUT: text = free-text search (CONTAINS). last = relative window like "1h", "30m", "7d" (defaults to last hour). begin_ms/end_ms = absolute epoch-ms window (mutually exclusive with last). limit = max events (1..20000, default 50 — narrow with text, don't raise it). target = target name from config.
RETURNS: {count, complete (False if truncated), constraints, events: [{timestamp_ms, text, fields}]}. Feed events to vmware-debug incident_timeline to correlate across sources. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last | No | ||
| text | No | ||
| limit | No | ||
| end_ms | No | ||
| target | No | ||
| begin_ms | No |