-
Notifications
You must be signed in to change notification settings - Fork 1
/
hpfeeds-logger.env
49 lines (36 loc) · 1.34 KB
/
hpfeeds-logger.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This file is read from /etc/default/hpfeeds-logger
#
# This can be modified to change the default setup of the unattended installation
MONGODB_HOST=mongodb
MONGODB_PORT=27017
# Log to local file; the path is internal to the container and the host filesystem
# location is controlled by volume mapping in the docker-compose.yml
FILELOG_ENABLED=true
LOG_FILE=/var/log/hpfeeds-logger/chn-splunk.log
# Choose to rotate the log file based on 'size'(default), 'time', or 'none'
# Choosing 'none' is ideal if you want to handle rotation outside of the
# container
ROTATION_STRATEGY=size
# If rotating by 'size', the number of MB to rotate at
ROTATION_SIZE_MAX=100
# If rotating by 'time', the unit to count in; valid values are "m","h", and "d"
ROTATION_TIME_UNIT=h
# If rotating by 'time', the number of rotation_time_unit to rotate at
ROTATION_TIME_MAX=24
# How many backup files to keep when rotating in the container
ROTATION_BACKUPS=3
# Log to syslog
SYSLOG_ENABLED=false
SYSLOG_HOST=localhost
SYSLOG_PORT=514
SYSLOG_FACILITY=user
# Options are arcsight, json, raw_json, splunk
FORMATTER_NAME=splunk
# To log data from an external HPFeeds stream, uncomment and fill out these
# variables. Additionally, change the HPFEEDS_* variables to point to the
# remote service.
IDENT=hpfeeds-logger-${RANDOM}
# SECRET=
# CHANNELS=
HPFEEDS_HOST=hpfeeds3
HPFEEDS_PORT=10000