Source

event_shipper /

Filename Size Date modified Message
bin
configs
lib
spec
28 B
109 B
166 B
575 B
1.1 KB
1.6 KB
938 B
event_shipper reads log files and sends each line in logstash JSON format 
via encrypted UDP to redis. 

LINKS

logstash is awesome and here: 
  http://logstash.net/

this uses a CA and public/private key architecture: 
  https://github.com/jordansissel/lumberjack

and finally, here's woodchuck, which inspired this work: 
  https://github.com/danryan/woodchuck

SYNOPSIS

To run a local example installation, start redis. Then: 

  # Produce one log entry per second in the file 'test.log'
  $ ./bin/producer 1

  # Ship the log entries to localhost
  $ ./bin/esshipper -c configs/test.yaml

  # Receive entries and store in redis
  $ ./bin/esproxy -c configs/proxy.yaml

STATUS

Stable in production for Ruby 1.9.3 and later.

PERFORMANCE

Good. 

ENCRYPTION

Packets are encrypted using a simple AES256 symmetric encryption with a 
preshared user/password tuple on the server and the client. This should be 
good to keep people from reading your logs, 

If someone with deep cryptographic knowledge wants to criticise my use of 
algorithms, please, you're welcome! Just keep in mind that I've selected the
current method to be simple to set up. 

CONTRIBUTE

This gem is hosted on bitbucket at 
  https://bitbucket.org/kschiess/event_shipper

Please file any issue you might have with the program there. Contributions
are welcome - you might shoot me an email before starting, just to check if 
the direction you take is welcome in the code base. 

LICENSE

This piece of software is under a MIT license, which means you can do pretty 
much anything you want with it. Read the license, it's in the LICENSE file. 

(c) 2013 Kaspar Schiess, Technology Astronauts
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.