[syslog-ng] Help getting my rewrite to work

Matt Zagrabelny mzagrabe at d.umn.edu
Fri Jul 19 18:30:26 CEST 2013


Hi Dave,

> rewrite r_rewrite_4624_2 { subst("interactive", "QuackApple",
> value("MSGONLY"));};

I'm using something similar, but am using the type and flags options:

rewrite r_use_basename {
    subst(
        "/var/log/apache2/",
        "",
        value(".SDATA.file at 18372.4.name")
        type("string")
        flags("prefix")
    );
};



More information about the syslog-ng mailing list