[syslog-ng] How can I add multi server in my Syslog-ng Configuration?

Jim Hendrick jrhendri at roadrunner.com
Tue Nov 18 14:55:13 CET 2014


Sorry to ask such a basic question,  but are you sure the access point is *sending* logs?


Sent from my Verizon Wireless 4G LTE smartphone


-------- Original message --------
From: Jason Long <hack3rcon at yahoo.com> 
Date:11/18/2014  6:27 AM  (GMT-05:00) 
To: "Syslog-ng users&#39; and developers&#39;	mailing list" <syslog-ng at lists.balabit.hu> 
Subject: [syslog-ng] How can I add multi server in my Syslog-ng	Configuration? 

Hello all.
How are you?
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 :

# syslog-ng configuration file.
#
# This should behave pretty much like the original syslog on RedHat. But
# it could be configured a lot smarter.
#
# See syslog-ng(8) and syslog-ng.conf(5) for more information.
#

options {
	flush_lines (0);
	time_reopen (10);
	log_fifo_size (1000);
	long_hostnames (off);
	use_dns (no);
	use_fqdn (no);
	create_dirs (no);
	keep_hostname (yes);
};

source s_netsyslog {
        udp(ip(0.0.0.0) port(514) flags(no-hostname));
        tcp(ip(0.0.0.0) port(514) flags(no-hostname));
};

destination d_netsyslog { file("/var/log/network.log" owner("root") group("root") perm(0644)); };

log { source(s_netsyslog); destination(d_netsyslog); };


as you see it collect Syslog from any IP address but why my Syslog-ng can't receive Access point log?

Cheers.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20141118/fcff1dec/attachment.htm 


More information about the syslog-ng mailing list