metalog.conf(5) Metalog configuration file metalog.conf(5) (NAME) metalog.conf - Metalog (SYNTAX) [default values]
# Comments are introduced with "#", which is ONLY allowed at the beginning of a line. (DESCRIPTION) [default values] .
. . : maxsize = ( ) . maxfile . . maxtime = ( ) . . : maxsize maxtime . . maxfiles = . x ( log-date-string) current . facility = "" (syslog facility) . : "auth" "authpriv" "cron" "daemon" "ftp" "kern" "lpr" "mail" "news" "security" "syslog" "user" "uucp" "local0" "local1" ... "local7". "kern" . "facility = ..." . "*" . remote_host = IP . (default values) . ( ...) remote_host . "ratelimit" "ratelimit_burst" "showrepeats" . DNS . remote_host[] = remote_host . name remote_port[] . remote_port = UDP . "514" . . remote_port[] = remote_port . name remote_host[] . remote_log = 0 . 1 . . remote_log[] = remote_log . name remote_host[] . remote_format = legacy_timestamp . . : "legacy" "legacy_timestamp" "rfc3164" "rfc5424". remote_format[] = remote_format . name remote_host[] . remote_severity_level = 7 . . '0' '7' () . remote_severity_level[] = remote_severity_level . name remote_host[] . log_format = legacy_timestamp . (stdout) . : "legacy" "legacy_timestamp" "rfc3164" "rfc5424". log_severity = 0 . (severity level) "legacy" "legacy_timestamp" . "rfc3164" "rfc5424" . break = 0 . 1 . <<>> (catch-all) . 0 1 . minimum = . '0' '7' . 5 . 7 ( ). maximum = . maximum . logdir = "/dir/where/logs/will/be/written/" . "NONE" . perms = . 0700 . program = "name" facility . . regex = "perl compatible regular expression" pattern ( "invalid" "fail" ) . regex . neg_regex = "perl compatible regular expression" pattern . neg_regex regex . regex . regex neg_regex . neg_regex . postrotate_cmd = "/path/to/a/program" . ("metalog") . program_regex = "perl compatible regular expression" program . program_regex . program_neg_regex = "perl compatible regular expression" program_regex . program_neg_regex program_regex . program_regex . program_regex program_neg_regex . program_neg_regex . showrepeats = 0 . command = "/path/to/program/to/execute" . . metalog metalog . stamp_fmt = "%b %e %T" . strftime %[nnn]N (: nnn < 9 ). %[nnn]N strftime(3) . ( ). log_format remote_format rfc3164 rfc5424 . flush = 0 . 1 . (-a/-s) . ratelimit = "5/m" . second () minute () hour () day () . "0.5/m" . 0 () . . ratelimit_burst = (burst) . . 1 . 1 . configdir = "/path/to/directory/with/more/config/files" metalog . ".conf" . . - metalog . socket = "/path/to/logging/socket" . metalog . compress = 0 . 1 gzip . metalog . compress_delay = 0 . . (FILES) () . : /etc/metalog.conf (AUTHORS) Mike Frysinger Laurent Wandrebeck (low) Leo Lipelis Hendrik Visage Frank DENIS (Jedi/Sector One) (SEE ALSO) metalog(8) Frank DENIS 4 metalog.conf(5)