reddit/fluent-plugin-logdna

Name: fluent-plugin-logdna

Owner: Reddit

Description: null

Created: 2018-05-08 16:45:25.0

Updated: 2018-05-22 17:47:11.0

Pushed: 2018-05-22 17:47:09.0

Homepage: null

Size: 29

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

fluent-plugin-logdna

Gem Version

Using fluent-plugin-logdna, you can send the logs you collect with Fluentd to LogDNA.

Instructions
ch your_match>
ype logdna
i_key xxxxxxxxxxxxxxxxxxxxxxxxxxx        # paste your api key here (required)
stname "#{Socket.gethostname}"           # your hostname (required)
p my_app                                 # replace with your app name
ac C0:FF:EE:C0:FF:EE                     # optional mac address
p 127.0.0.1                              # optional ip address
ffer_chunk_limit 1m                      # do not increase past 10m (10MB) or your logs will be rejected by our server.
ush_at_shutdown true                     # only needed with file buffer
tch>
Recommended Configuration Parameters
Options

If you don't have a LogDNA account, you can create one on https://logdna.com or if you're on macOS w/Homebrew installed:

 cask install logdna-cli
na register <email>
w paste the api key above
LogDNA Pay-per-gig Pricing

Our paid plans start at $1.25/GB per month, pay for what you use / no fixed data buckets / all paid plans include all features.

Building a debian package for td-agent

If you use td-agent you can build a debian package instead of installing via td-agent-gem. This requires that td-agent is already installed and that you've installed fpm. Then just run make in your git directory.

install --no-ri --no-rdoc fpm
clone https://github.com/logdna/fluent-plugin-logdna
luent-plugin-logdna

 dpkg -i fluent-plugin-logdna*.deb
Additional Options

For advanced configuration options, please refer to the buffered output parameters documentation.

Questions or concerns? Contact support@logdna.com.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.