Skip to main content

Alert logs

Collect export alert logs with a log ingestion tool.

The exporter exports alert log records as a JSON file suitable for collection by a log ingestion tool like Promtail or FluentBit.

Alert logging is configured with the following parameters in the exporter config file:

ParameterDescriptionDefault
log.destinationLog file path/log/alert.log
log.intervalInterval to log records15s
log.disableDisable logging if set to 10

Example alert log YAML configuration:

log:
# Path of log file
destination: /opt/exporter/alert.log
# Interval of log updates
interval: 15s
## Set disable to 1 to disable logging
# disable: 0