[syslog-ng] Multiple rewrite conditions under 3.4.x

C. L. Martinez carlopmart at gmail.com
Thu Feb 6 15:41:47 CET 2014


Hi all,

 Is it possible to add multiple rewrite conditions in syslog-ng 3.4.x like this:

rewrite r_rewrite_set{
              set("myhost1", value("HOST")
condition(program("myapplication1")));
              set("myhost2", value("HOST")
condition(program("myapplication2")));
              set("myhost3", value("HOST")
condition(program("myapplication3")));
              set("myhost4", value("HOST")
condition(program("myapplication4")));
};

??

 Is this a good option or maybe a performance penalty??

Thanks.


More information about the syslog-ng mailing list