Skip to content
This repository has been archived by the owner on Mar 16, 2020. It is now read-only.

Latest commit

 

History

History
56 lines (38 loc) · 1.16 KB

README.md

File metadata and controls

56 lines (38 loc) · 1.16 KB

slurpy

About

A syslog slurper. Currently slurps udp or tcp.

Build Status

It doesn't currently do anything other than parse the incoming syslog messages, and print the result.

Usage

Help output:

$ ./slurpy -h
Usage:
  slurpy [OPTIONS]

Application Options:
  -t, --listen-tcp= TCP address:port to listen to
  -u, --listen-udp= UDP address:port to listen to
  -v, --verbose     Show verbose (debug) log level output
  -V, --version     print version and exit

Help Options:
  -h, --help        Show this help message

Example running:

$ ./slurpy --listen-tcp="127.0.0.1:1514" --listen-udp="127.0.0.1:1514"

Example rsyslog config to forward to slurpy:

## tcp
*.* @@127.0.0.1:1514
## or udp
#*.* @127.0.0.1:1514

Links

  • RFC-3164 - "The BSD syslog Protocol"
  • RFC-6587 - "Transmission of Syslog Messages over TCP"

License

Released under an ISC license. See LICENSE.md file for details.