Hi, On Sat, 14 Dec 2013 12:53:37 +0100 "Bartosz Kiziukiewicz" <kiz...@gmail.com> wrote:
> This one: > .. > generates a following error in nxlog's log: I tested it and it works ok. > 2013-12-14 12:46:12 ERROR module 'out_multiple' has configuration errors, There should be an error message before this one. > It seems that EXEC statement is limited in length and the allowed length > is quite small. I don't think there is such a limit, at least not at this level. > Is there any simple way to overcome it or any other elegant way to make > filtering and sorting logs to different files? Another way would be to define an om_file output instance for each file, and within each instance define an Exec rule to filter out unwanted events, e.g.: <Output out_remotelogin> Module om_file exec if ($MessageSourceAddress != "192.168.1.1") drop(); \ if ($Message !~ /id=03203/ and $Message !~ /id=03700/) drop(); File 'remotelogin.txt' </Output> Regards, Botond ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users