alert_get
Fetch a single alert's stored definition by its ID to inspect its fields and raw keys returned by the appliance. Use after listing alerts to understand an alert's configuration.
Instructions
[READ] Get the stored definition of one alert. Use this after alert_list.
Returns the same sanitized {id, name, enabled, info} projection as an alert_list row plus 'raw_keys' — the sorted key names the appliance actually sent — so you can see what else the definition carries without this skill guessing at its shape. For when the alert fired, use alert_history. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Log Insight target name as spelled in ~/.vmware-log-insight/config.yaml. Omit to use that file's default_target — with no default configured, omitting it is an error that lists the configured names. | |
| alert_id | Yes | The alert id exactly as returned in an alert_list row's 'id' field (not the alert's name). An empty string is refused with a message telling you to run alert_list; a well-formed but unknown id comes back as a 404 from the appliance. |