Commit Graph

51 Commits

Author SHA1 Message Date
Mark Nellemann 1acdd6a93d Cleanup.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
2023-11-13 13:46:11 +01:00
Mark Nellemann 422f1fbb71 Read from stdin and forward.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-02-05 14:38:54 +01:00
Mark Nellemann d3589faf9e Fix syslog message parsing error resulting in messages being cut at first whitespace.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-01-25 08:47:31 +01:00
Mark Nellemann c47f682c34 Improve robustness of GELF forwarding and parsing.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2023-01-22 11:44:03 +01:00
Mark Nellemann 3e7ba2f46e Cleanup and gradle update.
continuous-integration/drone/push Build is passing Details
2023-01-03 12:49:21 +01:00
Mark Nellemann 8895b2b110 Update README with links to other related projects. 2022-12-17 10:35:55 +01:00
Mark Nellemann cd6e15584a Correctly parse chuncked GELF messages. 2022-12-14 08:14:00 +01:00
Mark Nellemann 5104bd0750 Work on chunked GELF messages. 2022-12-13 16:59:28 +01:00
Mark Nellemann 4cc11b0587 Work on detecting chunked messages. 2022-12-13 09:14:21 +01:00
Mark Nellemann 2b52550f87 Support incoming messages in GELF format (also compressed UDP). 2022-12-08 13:55:25 +01:00
Mark Nellemann 3e21ea395e Update dependencies and build container. 2022-12-06 10:15:23 +01:00
Mark Nellemann cf377adecd Update dependencies and build container. 2022-11-02 12:09:49 +01:00
Mark Nellemann 3b8231cf11 Move lokiclient into it's own thread, to not block/delay udp forwards. 2021-03-27 15:23:34 +01:00
Mark Nellemann 76ee8abe91 Update reference to the Apache 2.0 LICENSE. 2021-03-25 21:21:46 +01:00
Mark Nellemann e92d2b0684 Text cleanup. 2021-03-25 21:13:06 +01:00
Mark Nellemann 7c2762dcff Improve escaping of chars in json output (Loki and GELF). 2021-03-24 11:10:19 +01:00
Mark Nellemann 0cd90c4fef Improve Loki message line. 2021-03-17 21:17:20 +01:00
Mark Nellemann 5e1481e770 Minor version incremented as command line parameters and functionality has changed.
Severity and facility are now in lowercase.
LokiClient http timeouts set more aggressively.
Cleanup various places.
2021-03-17 14:30:37 +01:00
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