This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| ############### // gelfListener 0.2 // ############### | |
| # | |
| # Listens on UDP 12201 for Gelf messages | |
| # Extracts the event data and writes the message to disk | |
| # updated to handle both zlib (nxlog) and gzip (graylog server) compressed events | |
| # not perfect, but works okay | |
| # | |
| # Bugs: |