nxlog job from nxlog/0.3.0
Github source:
6a67137a
or
master branch
Properties¶
nxlog
¶
input
¶
files
¶Array of files to check path: path to file recursive: to look recursively into folder exclude: regex of file/dir pattern to exclude - {path: “/var/vcap/data/sys/log/*.log”, recursive: true, exclude: “(monit|nxlog)”} - {path: “/var/log/kernel.log”, recursive: false, exclude: “”} - {path: “/var/log/test.log”, recursive: false, exclude: “”}
- Default
- exclude: (monit|nxlog) path: /var/vcap/data/sys/log/*.log recursive: true
pollinterval
¶Specifies in seconds how frequently the module will check for new files and new log entries.
- Default
10
tcpoutput
¶
host
¶Host where the log should be sent
port
¶Port where the log should be sent
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/nxlog/
directory
(learn more).
bin/monit_debugger
(frombin/monit_debugger
)bin/nxlog_ctl
(frombin/nxlog_ctl
)config/nxlog.conf
(fromconfig/nxlog.conf.erb
)data/properties.sh
(fromdata/properties.sh.erb
)helpers/ctl_setup.sh
(fromhelpers/ctl_setup.sh
)helpers/ctl_utils.sh
(fromhelpers/ctl_utils.sh
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.