File alert alert/file¶
Description¶
This module will output all alerts to a given file.
Parameters¶
- file
Absolute file path where alert will end up. You can use “-” for standard output.
- format
String determining output format of alert. The following format are allowed :
- oneline
- pretty
Default to pretty.
Example :
# Ignore alerts
file = "/dev/null"
format = "oneline"