log

Reference for the `log` action.

log · action · run nanook doc log for the same content in your terminal.

Logs alerts to the agent's structured log stream.

Examples

Default channel for unrouted alerts

[channels.log]
type = "log"

[[alerts]]
expr    = "cpu.usage > 80%"
channel = "log"