Hi, CRLF and LF are both recognized as EOL on all platforms by the LineBased input parser (used in im_file and the network modules). For example if you send from linux over om_tcp to a windows host and store the message into a file with om_file, nxlog's om_tcp will send with LF, the im_tcp in nxlog on windows will recognize LF and om_file will finally write the logs with CRLF (which is the default on the platform). This should work the other way around as well.
I assume your "receiver side" is not nxlog but some other implementation which gets confused by CRLF. Regards, Botond On Wed, 13 Nov 2013 22:11:49 +0100 bandie91 <bandi...@gmail.com> wrote: > > It would be useful to be able to specify End Of Line char(s) > in om_tcp module, when LineBased mode is on. > Now, om_tcp always emit CRLF on win platform, and LF on unix > platforms. > I have a multi-platform network with traditional rfc3164 format. > I could not use something like "Exec if $raw_event =~ s/\r$// {}" > in output module, and it is quite strange to strip CR on receiver > side. > > > > -- > Hrubák András > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > nxlog-ce-users mailing list > nxlog-ce-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users