Skip to content

service-logs job from service-logs/1.1

Github source: 2056ac5 or master branch

Properties

ca

When the service logs plugin communicates with the Loggregator Agent it must validate the Loggregator Agent’s certificate was signed by a trusted CA. This is the CA trusted by the service logs for that communication.

cert

This certificate is sent to the Loggregator Agent when initiating a connection. It must be signed by a CA that is trusted by the Loggregator Agent.

debug_port

Port to expose service-logs metrics

Default
3461

key

This is the private key for the certificate sent to the Loggregator Agent when initiating a connection.

path

Pattern specifying log file(s) that will be the source of logs for the service logs plugin

port

Port to Loggregator Agent

Default
3458

source_id

The source ID for all logs emitted

Templates

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

  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/loggregator_agent.crt (from loggregator_agent.crt.erb)
  • config/certs/loggregator_agent.key (from loggregator_agent.key.erb)
  • config/certs/loggregator_ca.crt (from loggregator_ca.crt.erb)
  • config/fluentbit.conf (from fluentbit.conf.erb)
  • config/metric_port.yml (from metric_port.yml.erb)

Packages

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