Giter Club home page Giter Club logo

fluent-plugin-heroku-http's Introduction

fluent-plugin-heroku-http

Build Status Gem Version FOSSA Status

This is a fluent input plugin to accept Heroku HTTPS log drains.

This plugin is heavily derived from hakobera/fluent-plugin-heroku-syslog and includes code from the dblN/fluent-plugin-heroku-syslog and gmile/fluent-plugin-heroku-syslog forks of that code. Unlike that plugin, this plugin focuses exclusively on HTTPS log drains and gets its tags from the request PATH, rather than configuration. This allows the input to more easily be integrated into complex pipelines.

Installation

Install with gem or td-agent-gem commands:

# using fluentd/gem
$ gem install fluent-plugin-heroku-http

# using td-agent
$ td-agent-gem install fluent-plugin-heroku-http

Install using bundler in Gemfile:

gem 'fluent-plugin-heroku-http'

Configuration

This plugin implements HerokuHttpInput which extends the built-in HttpInput plugin to accept RFC-5424 formatted syslog messages, framed using syslog TCP protocol octet counting framing method from RFC-6587, from Heroku HTTPS drains. This plugin support all of the in_http plugin configuration parameters.

Basic configuration

<source>
  @type heroku_http
  port 9880
</source>

Filtered by drain IDs

<source>
  @type heroku_http
  port 9880
  drain_ids ["YOUR-HEROKU-DRAIN-ID","ANOTHER-HEROKU-DRAIN-ID"]
</source>

Heroku configuration

The fluent tag is parsed from the input request PATH, in the same way as the in_http plugin.

# add logdrain to heroku application
$ heroku drains:add https://YOUR-FLUENTD-HOST/DESIRED-FLUENT-TAG

License

FOSSA Status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.