This is a Nozzle to send firehose events from CloudFoundry to LogDNA.
Fork From: https://github.com/cloudfoundry-community/firehose-to-syslog
Currently the Nozzle only runs as an app in Cloud Foundry.
-
Download the latest release of Firehose-to-LogDNA.
git clone https://github.com/logdna/logdna-cloudfoundry.git cd firehose-to-syslog
-
Utilize the CF cli to authenticate with your PCF instance.
cf login -a https://api.[your cf system domain] -u [your id] --skip-ssl-validation
-
Push firehose-to-logdna.
cf push firehose-to-logdna --no-start
-
Set environment variables with cf cli.
cf set-env firehose-to-logdna API_ENDPOINT https://api.[your cf system domain] cf set-env firehose-to-logdna DOPPLER_ENDPOINT wss://doppler.[your cf system domain]:443 cf set-env firehose-to-logdna INGESTION_KEY [your LogDNA ingestion key] cf set-env firehose-to-logdna FIREHOSE_CLIENT_ID [your doppler.firehose enabled client id] cf set-env firehose-to-logdna FIREHOSE_CLIENT_SECRET [your doppler.firehose enabled client secret] cf set-env firehose-to-logdna SYSLOG_ENDPOINT [your syslog endpoint] (Optional)
-
Push and run.
cf push firehose-to-logdna