gelf-reader/README.md

15 lines
800 B
Markdown

# gelf-reader
Simple GELF reader application
This is a simple application which opens a network port (currently UDP only) and receives a GELF input from Graylog or any other application. The primary purpose was to be able to filter some messages from many hosts in Graylog and output it onto this reader. Then you can process this aggregated and filtered log with (for example) fail2ban to block attackers on the router, firewall or hypervisor.
Usage:
gelf-reader [OPTIONS]
where options is:
-listen <ip>:<port> - the address and port to listen at
-output <filename> - output to file (stdout if omit)
-version - show version and exit
WARNING: There are no authentication nor any other host restriction mechanisms, this should be used in trusted (private and/or properly firewalled) networks.