[Bug 112] New: Problems when using encoding in 3.1.3 ose edition
https://bugzilla.balabit.com/show_bug.cgi?id=112 Summary: Problems when using encoding in 3.1.3 ose edition Product: syslog-ng Version: 3.1.x Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: unspecified Component: syslog-ng AssignedTo: bazsi@balabit.hu ReportedBy: aseques@gmail.com Type of the Report: --- Estimated Hours: 0.0 Good morning, I needed to reencode some windows logs emited by snare so they are stored ad UTF on the fly. After reading the documentation, I found what seems to be the solution. Instead of creating a single source of data. I create an extra one, called src_win. source src { udp(ip("192.168.1.200") port(514)); }; source src_win { udp(ip("192.168.1.200") port(514) encoding("WINDOWS-1252")); }; Whenever I want to use the filter encoding for the logs, I will use this source instead of the generic one. log { source(src_win); filter(f_host_name); filter(f_messages); destination(name_messages); }; The problem is that as soon as I enable the source src_win for any log, it just stop logging the rest of sources. Is that a known bug or something I should fix. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=112 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution| |INVALID Status|NEW |RESOLVED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2011-02-11 20:42:53 --- you can't open two udp sources on the same port. you need to open it on a different port or IP so I'd say this is not a bug. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=112 --- Comment #2 from Joan <aseques@gmail.com> 2011-02-14 12:19:55 --- Thanks for your answer Balazs, Would you accept a patch to mark as a syntax error having two udp sources listening on the same port? If it's a misconfiguration, it would be nice to be notifed instead of using the last definition as the sane configuration. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=112 --- Comment #3 from Balazs Scheidler <bazsi@balabit.hu> 2011-02-17 21:00:45 --- sure, that'd make sense. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com