[syslog-ng] Changing message transfer for rfc6587

Gabor Nagy (gnagy) Gabor.Nagy at oneidentity.com
Wed May 12 12:07:19 UTC 2021


Hello Benedict,

You can use only the RFC5424 format without the framing from RFC6587. For that, you should use the network() driver instead of syslog() driver:
e.g.

network("`IP-ADDRESS`" port(`PORT`) transport(tcp) flags("syslog-protocol"));

Best Regards,
Gabor
________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Hartmann Benedict - Maschinenfabrik Reinhausen <B.Hartmann at reinhausen.com>
Sent: Wednesday, May 12, 2021 12:54
To: syslog-ng at lists.balabit.hu <syslog-ng at lists.balabit.hu>
Subject: [syslog-ng] Changing message transfer for rfc6587

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.


Hello,



at the moment I am sending messages via



destination d_syslog_visu_conf_IETF

{

    syslog("`IPADRESS`" transport(TCP) port(`PORT`) `TLS_CERT`) ;

};



This approach will lead to the rfc6587 standard. The messages are collected via visual syslog.
Is it possible to change the message transfer mode from “octet counting” (leading message length) to “non-transparent-framing” (no leading message length) via config?



Best regards

Benedict Hartmann



[MSENSE] <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsense.reinhausen.com%2Fen%2F&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608069719%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=lFj1ASgk%2FzKUxowjhovoD7syJ0I0%2F8fEWjriww96quk%3D&reserved=0>

The Reinhausen-Magazine         Visit us: / Besuchen Sie uns:
[ONLOAD] <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fonload.reinhausen.com%2F&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608079675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=%2FghwNZwaFP2x3FmG8B4u3RlgDvo5REXa%2BcUbiuQlGrA%3D&reserved=0>      [Facebook]  <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.facebook.com%2FReinhausen.com&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608079675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=lQZrQiDT2r%2BJafBPa0LqxpBU27UcXTqnMk6cneD%2B51k%3D&reserved=0>  [Instagram]  <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.instagram.com%2Freinhausenkarriere&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608089636%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=rnecRMyJwaGeDYDXOah75KWUiB9JZbs6UumjDhY%2F6Xg%3D&reserved=0>      [Twitter]  <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Freinhausen_en&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608089636%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=QnHJftYq8fr5sdXGhJl6PqRuadSilSdXOxhJa8XB1Bg%3D&reserved=0>     [LinkedIn]  <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fmaschinenfabrik-reinhausen&data=04%7C01%7Cgabor.nagy%40oneidentity.com%7Ce62829308d4349288e9208d91534493f%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637564136608099591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=H5P0amYBTV3mtE40gHTlR9TuALzBkQkmo2wL8AXwmNc%3D&reserved=0>

Maschinenfabrik Reinhausen GmbH
General Manager / Geschäftsführer: Dr. Nicolas Maier-Scheubeck, Wilfried Breuer, Holger Michalka
Chairman of the Board / Vors. des Aufsichtsrats: Hans-Jürgen Thaus
Registered Office / Sitz der Gesellschaft: Regensburg
Local Court Regensburg / Amtsgericht Regensburg HRB 3687

This e-mail and any attachments contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail in error) please notify the sender and delete this message. Thank you.
Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
This e-mail was scanned for viruses, vandals and malicious content.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20210512/475f7595/attachment.html>


More information about the syslog-ng mailing list