Skip to content

logstash_forwarder job from logsearch/14

Github source: 35eb45ac or master branch

Properties

logstash_forwarder

global_files

Log files for forwarding (shared across all jobs; path should be the key, and the sub-object with a type key-value should be specified).

job_files

Log files for forwarding (job-specific; path should be the key, and the sub-object with a type key-value should be specified).

port

The lumberjack endpoint port.

Default
5043

servers

The lumberjack endpoints (array with values {host:port}).

ssl_ca_certificate

The path to your trusted ssl CA file. This is used to authenticate your downstream server.

ssl_certificate

The contents of your client ssl certificate (optional).

Default
""

ssl_key

The contents to your client ssl key (optional).

Default
""

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/logstash_forwarder/ directory (learn more).

  • bin/logstash_forwarder_ctl (from bin/logstash_forwarder_ctl)
  • bin/monit_debugger (from bin/monit_debugger)
  • config/config.json (from config/config.json.erb)
  • config/ssl-ca.crt (from config/ssl-ca.crt.erb)
  • config/ssl.crt (from config/ssl.crt.erb)
  • config/ssl.key (from config/ssl.key.erb)
  • data/properties.sh (from data/properties.sh.erb)
  • helpers/ctl_setup.sh (from helpers/ctl_setup.sh)
  • helpers/ctl_utils.sh (from helpers/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.