Skip to content

Drop in replacement for tailing heroku l2met logs from kafka to librato

Notifications You must be signed in to change notification settings

Adikteev/l2met_tailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka L2Met Tailer

Purpose

This program leverages ryandotsmith's l2met system (log to metric), replacing the need for logplex with a kafka consumer.

Usage

For direct usage, you can use the main package in this repo as entry point.

go get -u github.com/Adikteev/l2met_tailer
l2met_tailer -k localhost:9092 -t mytopic --librato-user me@librato.com --librato-token mytoken -r redis.local

or simply, for the many configuration options and usage

go get -u github.com/Adikteev/l2met_tailer
l2met_tailer --help

For custom usage, see the godoc for the KafkaReceiver type, and for the rest refer to the l2met documentation.

Bare Setup

export SECRETS=$(dd if=/dev/urandom bs=32 count=1 2>/dev/null | openssl base64)
export TZ=UTC
export REDIS_URL=redis://localhost:6379
go build .
./l2met_tailer --help

Additional credentials :

export LIBRATO_EMAIL=
export LIBRATO_TOKEN=

About

Drop in replacement for tailing heroku l2met logs from kafka to librato

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published