syslog_forwarder job from logsearch/211.0.2
This job forwards Syslog messages from different sources
Github source:
a08d4dc
or
master branch
Properties¶
syslog_forwarder
¶
config
¶List of service name and logfile definitions. Service is the syslog_program in the final log message. File is the path to the log file rsyslogd should stream to the remote syslog server
- Default
[]- Example
|+ - { service: elasticsearch, file: /var/vcap/sys/log/elasticsearch.stdout.log } - { service: elasticsearch, file: /var/vcap/sys/log/elasticsearch.stderr.log } - { service: kibana, file: /var/vcap/sys/log/kibana/kibana.stdout.log }
host
¶Hostname of the remote syslog server
- Default
""
port
¶Port of the remote syslog server
- Default
5514
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/syslog_forwarder/
directory
(learn more).
bin/pre-start
(frombin/pre-start
)config/rsyslog_file_forwarder.conf
(fromconfig/rsyslog_file_forwarder.conf
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.
This job relies on no runtime packages.