Hi all,


Is there a better way of sending output to different files than this?



Bob



<Output out>

    Module      om_file

    File        "syslog.log"

</Output>

<Output out_F5>

    Module      om_file

    File        "F5_syslog.log"

    Exec   if ($Hostname !~ /F5/) drop();

</Output>

<Output out_QNAP>

    Module      om_file

    File        "QNAP_syslog.log"

    Exec   if ($Hostname !~ /QNAP/) drop();

</Output>

<Output out_Switch>

    Module      om_file

    File        "Switch_syslog.log"

    Exec   if ($Hostname !~ /10.0.1.254/) drop();

</Output>



<Route 1>

    Path        in => out,out_F5,out_QNAP,out_Switch

</Route>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to