Low commit activity in last 3 years
A long-lived project that still receives updates
fluent plugin to drain heroku syslog
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 13.0
~> 3.4

Runtime

~> 1.0, >= 1.17
 Project Readme

fluent-plugin-heroku-syslog-http

Plugins to accept and parse syslog input from heroku http(s) drains, based on fluentd'd http input and regexp parser

Installation

Install with gem or fluent-gem command as:

# for fluentd
$ gem install fluent-plugin-heroku-syslog-http

# for td-agent
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-heroku-syslog-http

Usage

Configure heroku_syslog_http input

<source>
  type heroku_syslog_http
  port 9880
  bind 0.0.0.0
  tag  heroku
  drain_ids ["YOUR-HEROKU-DRAIN-ID"] # optional
</source>

Example

Heroku's http syslog format: 00 <13>1 2014-01-01T01:23:45.123456+00:00 host app web.1 - foo

Will parse the following key/values:

{
  'syslog.pri' => '13',
  'syslog.facility' => 'user',
  'syslog.severity' => 'notice',
  'syslog.hostname' => 'host',
  'syslog.appname' => 'app',
  'syslog.procid' => 'web.1',
  'syslog.timestamp' => '2014-01-29T06:25:52.589365+00:00',
  'message' => 'foo'
}

Copyright

  • Copyright
    • Copytight(C) 2018- Drivy
    • Copyright(C) 2014-2018 Kazuyuki Honda (hakobera)
  • License
    • Apache License, Version 2.0