logdna-cloudfoundry

command module
v0.0.0-...-e4f4464 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2019 License: MIT Imports: 14 Imported by: 0

README

Firehose-to-LogDNA

This is a Nozzle to send firehose events from CloudFoundry to LogDNA.

Fork From: https://github.com/cloudfoundry-community/firehose-to-syslog

Usage

Currently the Nozzle only runs as an app in Cloud Foundry.

  1. Download the latest release of Firehose-to-LogDNA.

    git clone https://github.com/logdna/logdna-cloudfoundry.git
    cd firehose-to-syslog
    
  2. 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
    
  3. Push firehose-to-logdna.

    cf push firehose-to-logdna --no-start
    
  4. 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)
    
  5. Push and run.

    cf push firehose-to-logdna
    

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cachingfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
loggingfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
Taken from RakutenTech nozzle Thanks to them
Taken from RakutenTech nozzle Thanks to them

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL