Commit graph

33 commits

Author SHA1 Message Date
Mark Nellemann 93874f1f33 Refactor argument parsing and improve LokiClient send. 2021-03-17 10:45:13 +01:00
Mark Nellemann 883963b033 Work on forwarding syslog messaged to Grafana Loki. 2021-03-16 22:01:11 +01:00
Mark Nellemann 058198003b More narrow output of application in stdout message printer. 2021-02-25 14:28:51 +01:00
Mark Nellemann c7fc3a594c Add more fields to GELF output. 2021-02-05 10:41:04 +01:00
Mark Nellemann 3313713f36 Add option to forward in GELF JSON format. 2021-02-03 12:00:45 +01:00
Mark Nellemann edfd89a11d Fixes for timestamp parsing. 2021-01-28 09:18:39 +01:00
Mark Nellemann 49b8888032 Hopefully fix failing tests (due to timezone differences) 2021-01-27 20:31:25 +01:00
Mark Nellemann 6fc55f14cb Rewrite test to avoid timezone issues. 2021-01-27 15:26:47 +01:00
Mark Nellemann 633ec03bae Refactoring and more tests. 2021-01-27 15:18:46 +01:00
Mark Nellemann 0752c0b6a6 Improve rfc5424 parsing. 2021-01-27 01:29:38 +01:00
Mark Nellemann dc3fcb0e09 Refactor forwarding logic. 2021-01-26 21:44:23 +01:00
Mark Nellemann 86f645f295 Update instructions and provide systemd service example. 2021-01-26 16:08:37 +01:00
Mark Nellemann c80d8a5ff8 Facility+Severity to PRI value. 2021-01-26 15:52:02 +01:00
Mark Nellemann f2b64383cc Enable forwarding of received syslog messaged. 2021-01-26 15:24:23 +01:00
Mark Nellemann c20137db35 Replace logback w. slf4j-simple to reduce size. 2021-01-05 15:07:26 +01:00
Mark Nellemann 7e8f49edbb Cleanup. 2020-12-15 10:29:54 +01:00
Mark Nellemann e1b56b3cc1 Cleanup. 2020-12-01 13:43:36 +01:00
Mark Nellemann 500fd79121 Cleanup. 2020-10-14 08:39:29 +02:00
Mark Nellemann 8d633cc049 Fix dynamic version lookup. 2020-10-07 15:09:59 +02:00
Mark Nellemann c555f91794 Formatting cleanup. 2020-10-07 12:50:51 +02:00
Mark Nellemann 039468ae42 Remove the outpuf file option to simplify. There are better options, eg. pipe output to the Apache rotatelogs tool. 2020-10-07 12:33:54 +02:00
Mark Nellemann 0a887bc644 Better output formatting and some cleanup. 2020-10-07 11:53:16 +02:00
Mark Nellemann 1e95730360 Improve rfc3164 parser. 2020-10-06 05:33:08 +02:00
Mark Nellemann 5d63f66fee Improve rfc3164 parser. 2020-10-06 05:10:19 +02:00
Mark Nellemann 75b9be0a31 Improve date parsing in rfc3164 messages
Change default from rfc5424 to rfc3164
Enable dynamic version information
2020-10-05 17:59:31 +02:00
Mark Nellemann 8ae2ec7573 Improve UDP reception and add file output and ansi flag on/off. 2020-10-05 10:40:42 +02:00
Mark Nellemann a1599d0862 Add usage help to README. 2020-09-23 14:43:40 +02:00
Mark Nellemann 4106453a68 Correct parsing of PRI to facility and severity + ansi colors in output. 2020-09-23 10:52:52 +02:00
Mark Nellemann 7a019c5c18 Try to fix test failing due to timezones. 2020-09-23 08:19:24 +02:00
Mark Nellemann 688cbf12a3 Try to fix test failing do to timezones. 2020-09-23 07:30:15 +02:00
Mark Nellemann 8d832e93f2 Change options behavior.
Parse RFC3164 timestamps as UTC.
2020-09-23 07:01:55 +02:00
Mark Nellemann 57eea00c2b Add APACHE-2.0 license. 2020-09-22 20:45:16 +02:00
Mark Nellemann dc09a0f3e1 Initial import 2020-09-22 20:33:22 +02:00