# Define the name of this component for general use in included files
prog = nl_parser

# Pick up shared definitions between parser and loader
@include nl_shared.conf

[global]
files_root = ${config_base}
state_file = ${config_base}/var/run/${prog}.state
tail = true
output_file = ${config_base}/${parser_output}
#rotate = 10s
numbered = 20s
eof_event = True
ufile = ${config_base}/skipped.log

[parsers]
files = ${log_file}

# Pattern match on the syslog header, setting 4 fields: pri, ts, host and app
pattern = "<(?P<pri>\d+)>(?P<ts>\S+ \S+ \S+) (?P<host>\S+) (?P<app>\S+): "

[[bp]]
[[[match]]]
# Use this parser if app field matches below
app = "cedps-logger"
[[[parameters]]]
has_gid = True

# Bring in the logging settings
@include nl_logging.conf
