########################################################
## nl_parser configuration file
##
## $Author: dang $
## $Rev: 989 $
#########################################################

#
# Global definitions
#

# Program name, convenient short-hand but also
# used by included logging.conf file
prog = nl_parser

#
# Include contents of 'shared.conf'
#
@include shared.conf

#
# nl_parser's global section
#
[global]
# Root directory for input files
files_root = $input_dir
# Path to output file
output_file = $output_dir/$output_filename
# Path to files that records the current
# list of input files and offsets in those files
state_file = $state_dir/${prog}.state
# When an output file is 'done', place a special
# EOF-event as the last BP event so the nl_loader
# can know to move on to the next file.
eof_event = True
# Do not stop at EOF in an input file, wait for
# more data to arrive.
tail = True
# Rotate to a new, numbered, output file every
# 30 minutes. When rotating, the previous file
# is considered "done". This corresponds to the
# numbered_files=yes option in the nl_loader.
rotate = 30 min

#
# nl_parser section
# (the name of the section is not important)
#
[foo1]
# The name of the parsing module is the
# title of the subsection. This is the same
# name that would be given to the -m option to
# nl_parser.
[[bp]]
# Path to files to which this parser should
# be applied. This can use the standard UNIX
# 'glob' syntax as defined by Python's "glob"
# module.
files = *.log

#
# Include contents of 'logging.conf'
#
@include "logging.conf"