Skip to content

sawmill job from sawmill/2.1.0

Github source: 00bcf571 or master branch

Properties

sawmill

debug

Enable debugging of syslog messages (writes all messages to disk)

Default
false

nginx

port

Port nginx will be listening on to provide websocket access to log messages

Default
443
ssl_timeout

Timeout for reusing the previously negotiated cryptographic parameters

Default
7200
worker_connections

Number of nginx connections per worker

Default
8192
worker_processes

Number of nginx workers

Default
2

skip_ssl_verify

Should we ignore self-signed/invalid certs when sending syslog messages to nginx?

Default
false

ssl_crt

SSL Certificate nginx will use (pem encoded)

ssl_key

Private key for nginx’s SSL certificate (pem encoded)

syslog

port

Port syslog will be listening on to receive log messages

Default
514

users

List of users to access sawmill with

Default
[]
Example
|+
  users:
  - name: user1
    pass: password

Templates

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

  • bin/monit_debugger (from bin/monit_debugger)
  • bin/nginx_ctl (from bin/nginx_ctl)
  • bin/syslog-ng_ctl (from bin/syslog-ng_ctl)
  • config/nginx.conf (from config/nginx.conf.erb)
  • config/sawmill.htpass (from config/sawmill.htpass.erb)
  • config/ssl_crt (from config/ssl_crt.erb)
  • config/ssl_key (from config/ssl_key.erb)
  • config/syslog-ng.conf (from config/syslog-ng.conf.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.