Commit graph

54 commits

Author SHA1 Message Date
Mark Nellemann 326975fcfa Update 3rd party dependencies. 2021-12-03 11:29:55 +01:00
Mark Nellemann 69347764a9 Update HMC syslog ignore filter. 2021-03-29 22:16:15 +02:00
Mark Nellemann e9d9355318 Merged in lokithread (pull request #6)
Move lokiclient into it's own thread, to not block/delay udp forwards.
2021-03-27 17:34:23 +00: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 8e84b9ca5c More logging examples. 2021-03-24 08:05:14 +01:00
Mark Nellemann 49c710ee46 AIX errlogger example. 2021-03-17 22:05:54 +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 bedcaad3b7 README.md edited online with Bitbucket 2021-03-17 10:16:57 +00:00
Mark Nellemann a8195ca7bb Merged in loki (pull request #5)
Loki
2021-03-17 10:11:52 +00: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 586848e1cc Merged in gelf (pull request #4)
Add option to forward in GELF JSON format.
2021-02-03 11:08:05 +00:00
Mark Nellemann 3313713f36 Add option to forward in GELF JSON format. 2021-02-03 12:00:45 +01:00
Mark Nellemann cf14736d1a Update README to reflect new changes. 2021-01-29 11:18:08 +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 0909298bbc Merged in fixes (pull request #3)
Fixes
2021-01-27 14:23:00 +00: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 f9340fb8b2 Fix example to reworked format syntax. 2021-01-26 21:55:18 +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 5c76a2fafe Merged in forward (pull request #2)
Enable forwarding of received syslog messaged.
2021-01-26 14:26:58 +00:00
Mark Nellemann f2b64383cc Enable forwarding of received syslog messaged. 2021-01-26 15:24:23 +01:00
Mark Nellemann 0e73aa8321 Merged development into master 2021-01-05 15:08:07 +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 259f90c86c Typos 2020-12-06 13:11:58 +01:00
Mark Nellemann aea5544645 Merged in development (pull request #1)
Cleanup.
2020-12-01 12:45:08 +00: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