Skip to content

service-logs job from service-logs/2.0.2

Github source: b891da7 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.

key

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

metrics

ca_cert

TLS CA cert to verify requests to metrics endpoint.

cert

TLS certificate for metrics server signed by the metrics CA

key

TLS private key for metrics server signed by the metrics CA

port

Port to expose service-logs metrics

Default
3461

server_name

The server name used in the scrape configuration for the metrics endpoint

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/certs/metrics.crt (from metrics.crt.erb)
  • config/certs/metrics.key (from metrics.key.erb)
  • config/certs/metrics_ca.crt (from metrics_ca.crt.erb)
  • config/fluentbit.conf (from fluentbit.conf.erb)
  • config/prom_scraper_config.yml (from prom_scraper_config.yml.erb)

Packages

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