### RWFlowAppend configuration file  -*- sh -*-
##
## The canonical pathname for this file is ${prefix}/etc/rwflowappend.conf
##
## RCSIDENT("$SiLK: rwflowappend.conf.in 14083 2009-04-21 16:34:30Z mthomas $")

# Set to non-empty value to enable rwflowappend
ENABLED=

# These are convenience variables for setting other values in this
# configuration file; their use is not required.
prefix=/usr/local
exec_prefix=${prefix}
statedirectory=${prefix}/var/lib/rwflowappend

# If CREATE_DIRECTORIES is set to "yes", the directories named in this
# file will be created automatically if they do not already exist
CREATE_DIRECTORIES=no

# Full path of the directory containing the "rwflowappend" program
APPENDER_BIN=${exec_prefix}/sbin

# The full path of the directory where incoming files will be placed.
INCOMING_DIR=${statedirectory}/incoming

# The full path of the directory where files will be placed if there
# are errors within the file
ERROR_DIR=${statedirectory}/error

# The full path of the directory to archive files after they have been
# processed.  If not set, the files are not archived.
ARCHIVE_DIR=

# The full path to the root of the tree under which the packed SiLK
# Flow files will be written.
DATA_ROOTDIR=/data

# The full path to the site configuration file.  Defaults to silk.conf
# in the ${DATA_ROOTDIR} if not set.
SITE_CONFIG=

# Command to run on each file once it has been processed.  Requires
# use of the ARCHIVE_DIR.  In the command, "%s" will be replaced with
# the full path to the file in the archive directory.
POST_COMMAND=

# Command to run on newly created hourly files.  In the command, "%s"
# will be replaced with the full path to the hourly file.
HOUR_COMMAND=

# The type of compression to use for packed files.  Left empty, the
# value chosen at compilation time will be used.  Valid values are
# "best" and "none".  Other values are system-specific (the available
# values are listed in the description of the --compression-method
# switch in the output of rwflowappend --help).
COMPRESSION_TYPE=

# Interval between attempts to check the INCOMING_DIR for new files,
# in seconds.  This may be left blank, and will default to 15.
POLLING_INTERVAL=


###

# The type of logging to use.  Valid values are "legacy" and "syslog".
LOG_TYPE=syslog

# The lowest level of logging to actually log.  Valid values are:
# emerg, alert, crit, err, warning, notice, info, debug
LOG_LEVEL=info

# The full path of the directory where the log files will be written
# when LOG_TYPE is "legacy".
LOG_DIR=${statedirectory}/log

# The full path of the directory where the PID file will be written
PID_DIR=${LOG_DIR}

# The user this program runs as; root permission is not required.
USER=root

# Extra options to pass to rwflowappend
EXTRA_OPTIONS=
