Skip to content

syslog_forwarder job from logsearch/211.0.3

This job forwards Syslog messages from different sources

Github source: 03b1ebc 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 (from bin/pre-start)
  • config/rsyslog_file_forwarder.conf (from config/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.