Skip to content

syslog_forwarder_windows job from windows-syslog/1.2.0

Github source: 46b8b56 or master branch

Properties

golang

x509ignoreCN

Environment Flag to temporarily ignore golang’s strict checking for at least one SAN in a TLS certificate. See: https://golang.org/doc/go1.15#commonname for more info.

Default
true

logging

format

timestamp

Format for timestamp in log file forwarder logs. Valid values are ‘deprecated’ and ‘rfc3339’.

Default
deprecated

syslog

address

IP or DNS address of the syslog server.

Example
logs4.papertrail.com

blackbox

limit_cpu

limit goprocess to a single cpu via gomaxprocs

Default
true
source_dir

directory with subdirectories containing log files. log lines will be tagged with subdirectory name.

Default
c:/var/vcap/sys/log

ca_cert

Trusted CAs. Only necessary if TLS is enabled AND signing CA will not be validated by Windows. Ignores windows cert validation API, The entire applicable cert chain must be provided.

director

String to be used in “director” field in structured data of forwarded logs.

Default
""

environment

Optional environment identifier

Default
""

migration

disabled

Allows systems that cannot modify their deployment toplogy to use this release. Do not use if you’re not already relying on this capability. If true, does not forward syslogs, and does not require any other properties be provided. Overrides all other configuration.

Default
false

port

Port of the syslog server.

Default
514

tls_enabled

Set this to true to enable TLS over tcp. Validates certs via Windows API unless syslog.ca_cert is set.

Default
false

transport

One of udp, tcp

Default
tcp

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_windows/ directory (learn more).

  • config/blackbox_config.yml (from blackbox_config.yml.erb)
  • config/ca.crt (from ca.crt.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.