# README
Syslog Drain Binder
Syslog Drain Binder is a Cloud Foundry component that polls Cloud Controller for syslog drain bindings and updates etcd for Doppler. Doppler is notified of these changes and will forward logs and metrics to the new endpoint(s).
Each syslog drain binding belongs to a single app, but each app can have multiple syslog drain bindings.
Multiple instances of Syslog Drain Binder can and should be deployed, but only one is active at a given time (via an etcd election process).
Usage
syslog_drain_binder [--config <path to config file>]
Flag | Required | Description |
---|---|---|
--config | No, default: config/syslog_drain_binder.json | Location of the Syslog Drain Binder configuration JSON file. |
--logFile | No, default: STDOUT | The agent log file. |
Editing Manifest Templates
The up-to-date Syslog Drain Binder configuration can be found in the syslog_drain_binder spec file. You can see a list of available configurable properties, their defaults and descriptions in that file.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Poll gets all the app's syslog drain urls from the cloud controller.
SkipCertVerify allows skipping of cert verification when polling.
Timeout specifies the http client timeout when polling.
# Variables
DefaultTimeout is the default http client timeout used when polling.
# Structs
PollOptions contains the options for the Poll function.