<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body ><div>Sorry to ask such a basic question, but are you sure the access point is *sending* logs?</div><div><br></div><div><br></div><div><div style="font-size:9px;color:#575757">Sent from my Verizon Wireless 4G LTE smartphone</div></div><div></div><br><br>-------- Original message --------<br>From: Jason Long <hack3rcon@yahoo.com> <br>Date:11/18/2014 6:27 AM (GMT-05:00) <br>To: "Syslog-ng users' and developers'        mailing list" <syslog-ng@lists.balabit.hu> <br>Subject: [syslog-ng] How can I add multi server in my Syslog-ng        Configuration? <br><br><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr">Hello all.</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr">How are you?</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr">I have a windows sever with Syslog agent installed on it and it forward all logs to my Linux box. My Syslog-NG collected it very well but I want to forward my Access point log to syslog-ng too. My Syslog-NG configuration is :</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr"><br></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""># syslog-ng configuration file.</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">#</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""># This should behave pretty much like the original syslog on RedHat. But</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""># it could be configured a lot smarter.</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">#</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""># See syslog-ng(8) and syslog-ng.conf(5) for more information.</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">#</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">options {</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>flush_lines (0);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>time_reopen (10);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>log_fifo_size (1000);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>long_hostnames (off);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre" id="yui_3_16_0_1_1416309505942_13432">        </span>use_dns (no);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>use_fqdn (no);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>create_dirs (no);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><span class="" style="white-space:pre">        </span>keep_hostname (yes);</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">};</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">source s_netsyslog {</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""> udp(ip(0.0.0.0) port(514) flags(no-hostname));</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""> tcp(ip(0.0.0.0) port(514) flags(no-hostname));</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">};</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">destination d_netsyslog { file("/var/log/network.log" owner("root") group("root") perm(0644)); };</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">log { source(s_netsyslog); destination(d_netsyslog); };</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">as you see it collect Syslog from any IP address but why my Syslog-ng can't receive Access point log?</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br></div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style="">Cheers.</div><div id="yui_3_16_0_1_1416309505942_13351" dir="ltr" class="" style=""><br class="" style=""></div></div></body>