Excellent. As long as I know something like that is possible. I can figure out the rest. Thank you.<br><br><div><span class="gmail_quote">On 8/19/05, <b class="gmail_sendername">Paul Krizak</b> <<a href="mailto:paul.krizak@amd.com">
paul.krizak@amd.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You could set up filters that each uniquely match the router you want to
<br>monitor, then have different log destinations for each of them.<br><br>Or, assuming that your routers send along a hostname that is also a<br>valid filename, you can do something like this:<br><br>destination router_logs {
<br> file(<br> "/var/log/routers/$HOST-router.log"<br> create_dirs(yes)<br> );<br>};<br><br><br><br>Paul
Krizak
5900 E. Ben White Blvd. MS 625<br>Advanced Micro
Devices Austin,
Tx 78741<br>CAD Systems Engineering<br><a href="mailto:Paul.Krizak@amd.com">Paul.Krizak@amd.com</a><br><br><br>Terry wrote:<br>> Hello,<br>><br>> I have several routers that I want to receive logs for. Can I send all
<br>> the logs from these to a single facility and have syslog-ng parse and<br>> write them to different log files based on a ruleset such as ip address,<br>> type of log, etc. ?<br>><br>> Thanks!<br>><br>
><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>> syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">
syslog-ng@lists.balabit.hu</a><br>> <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>> Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html">
http://www.campin.net/syslog-ng/faq.html</a><br>><br><br>_______________________________________________<br>syslog-ng maillist - <a href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a><br><a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">
https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>Frequently asked questions at <a href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a><br><br></blockquote></div><br>