Skip to content

loggr-forwarder-agent job from loggregator-agent/3.15

Github source: 3ef6eae or master branch

Properties

debug_port

Port the agent uses to serve debug information

Default
14823

deployment

Name of deployment (added as tag on all outgoing v1 envelopes)

Default
""

downstream_ingress_port_glob

Files matching the glob are expected to contain ports of downstream consumers that will be bound to 127.0.0.1:{port} with the provided mTLS configuration. The forwarder assumes the downstream server is serving Loggregator’s V2 IngressService. See code.cloudfoundry.org/loggregator-api.

Default
/var/vcap/jobs/*/config/ingress_port.yml

port

Port the agent is serving gRPC via mTLS

Default
3458

tags

Collection of tags to add on all outgoing v2 envelopes. Bosh deployment, job, index and IP will be merged with this property if they are not provided

Default
{}
Example
deployment: cf

tls

ca_cert

TLS loggregator root CA certificate. It is required for key/cert verification.

cert

TLS certificate for forwarder signed by the loggregator CA

cipher_suites

An ordered list of supported SSL cipher suites. Allowed cipher suites are TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 and TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384.

Default
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256:TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

key

TLS private key for forwarder signed by the loggregator CA

Templates

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

  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/forwarder.crt (from forwarder.crt.erb)
  • config/certs/forwarder.key (from forwarder.key.erb)
  • config/certs/loggregator_ca.crt (from loggregator_ca.crt.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.