-
Notifications
You must be signed in to change notification settings - Fork 226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more syslog message formats #1711
Comments
This issue has not had any activity in the past 30 days, so the |
I am currently researching the possibility of using Loki and Alloy for collecting logs for our servers and devices, however at it's current state it's a real pain to work with. |
You can forward these Log types to a syslog-ng/rsyslog which should convert the logs to RFC5424 which can be forwarded to alloy. |
Or use Vector to do the same, but the point would be to use only one service/program to this and not have to learn or use another. |
Currently
loki.source.syslog
only supports RFC5424 formatted messages. In #305 the issue is raised that RFC-3164 formatted messages lead to an error. PR #1556 was opened to address this with RFC-3164 support. There are other commonly used syslog formats, like CEF, by hardware vendors. As the syslog message format cannot be changed in these devices, it would be great if Alloy supported more message formats.As adding support for every syslog message format might not be feasible, I suggest to add
raw
as option to the newsyslog_format
field, which is introduced in #1556 . This option skips any parsing and forwards the complete syslog message as is. This allows adding a 'loki_process' component in the chain and do custom parsing.The text was updated successfully, but these errors were encountered: