Commit Graph

27 Commits

Author SHA1 Message Date
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 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 2b52550f87 Support incoming messages in GELF format (also compressed UDP). 2022-12-08 13:55:25 +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 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 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 c20137db35 Replace logback w. slf4j-simple to reduce size. 2021-01-05 15:07:26 +01: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 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 dc09a0f3e1 Initial import 2020-09-22 20:33:22 +02:00