<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#0050d0">
Dont forget to leave the mailing list on the list of recips :-)<br>
<br>
Anyway, its still commented out in your log {} block. If the log
block has no source, it wont log anything.<br>
<div>log {</div>
<div># source(src_eventdb);</div>
<div> filter(f_at_least_warn);</div>
<div># filter(f_syslog);</div>
<div> destination(d_eventdb);</div>
<div>};<br>
<br>
</div>
<br>
-Patrick<br>
<br>
<br>
<br>
Sent: Mon Sep 19 2011 14:43:08 GMT-0600 (MST)<br>
From: rek2 <a class="moz-txt-link-rfc2396E" href="mailto:rek2gnulinux@gmail.com"><rek2gnulinux@gmail.com></a><br>
To: Patrick H. <a class="moz-txt-link-rfc2396E" href="mailto:syslogng@feystorm.net"><syslogng@feystorm.net></a> <br>
Subject: Re: [syslog-ng] Problem sending logs to central log
server..
<blockquote
cite="mid:CAL+4sRJAQ=xuhb5a5-pVnxKErj-ZGqNJaizMsi74vOjmsbWrTA@mail.gmail.com"
type="cite">Hi Patrick, thanks for your reply, yes you right sorry
I did the copy and paste before I uncomented some lines since Im
testing here and there..
<div><br>
</div>
<div>this is how I have it now.. the last part:</div>
<div><br>
</div>
<div> #syslog-ng2mysql destinations
<div><br>
</div>
<div>source src_eventdb {</div>
<div> unix-stream("/dev/log");</div>
<div> udp(ip(0.0.0.0) port(514));</div>
<div>};</div>
<div><br>
</div>
<div>destination d_eventdb {</div>
<div> pipe(</div>
<div> "/usr/local/icinga/var/rw/syslog-ng.pipe",</div>
<div>
template("$HOST\t$SOURCEIP\t$PRI\t$YEAR-$MONTH-$DAY\t$HOUR:$MIN:$SEC\t$PROGRAM\t$MSG\n")</div>
<div> template_escape(no)</div>
<div> );</div>
<div>};</div>
<div><br>
</div>
<div>filter f_at_least_warn {</div>
<div># level(warn..emerg);</div>
<div># level(notice..emerg);</div>
<div> level(info, notice, warn, crit, err, debug);</div>
<div>};</div>
<div><br>
</div>
<div>log {</div>
<div># source(src_eventdb);</div>
<div> filter(f_at_least_warn);</div>
<div># filter(f_syslog);</div>
<div> destination(d_eventdb);</div>
<div>};</div>
<div><br>
</div>
<div>#log {</div>
<div># source(src_eventdb);</div>
<div># filter(f_auth);</div>
<div># destination(d_eventdb);</div>
<div>#};</div>
<div><br>
</div>
<br>
<div class="gmail_quote">2011/9/19 Patrick H. <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:syslogng@feystorm.net">syslogng@feystorm.net</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div bgcolor="#ffffff" text="#0050d0"> In your server
config, the only listener you have on udp port 514 is
defined in src_eventdb, and all src_eventdb entries are
commented out.<br>
<br>
-Patrick<br>
<br>
<br>
Sent: Mon Sep 19 2011 11:40:15 GMT-0600 (MST)<br>
From: rek2 <a moz-do-not-send="true"
href="mailto:rek2gnulinux@gmail.com" target="_blank"><rek2gnulinux@gmail.com></a><br>
To: <a moz-do-not-send="true"
href="mailto:syslog-ng@lists.balabit.hu" target="_blank">syslog-ng@lists.balabit.hu</a>
<br>
Subject: [syslog-ng] Problem sending logs to central log
server..
<blockquote type="cite">
<div>
<div class="h5">Hello, I'm trying to sent all my logs
from one openbsd server with syslog-ng to a linux
ubuntu central log server also with syslog-ng of
course but only the syslog-ng logs are been logged..
<div>also when I do a "logger test" for example it
gets log locally but not remotely to the log
server...</div>
<div>here are my configs:</div>
<div><br>
</div>
<div>for the log server is basically the defaul of
ubuntu with my addtions at the end.. you will see</div>
<div>some commented is me trying to fix this issue.</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>cat syslog-ng/syslog-ng.conf </div>
<div>#</div>
<div># Configuration file for syslog-ng under
Debian</div>
<div>#</div>
<div># attempts at reproducing default syslog
behavior</div>
<div><br>
</div>
<div> # the standard syslog levels are (in
descending order of priority):</div>
<div># emerg alert crit err warning notice info
debug</div>
<div># the aliases "error", "panic", and "warn"
are deprecated</div>
<div># the "none" priority found in the original
syslogd configuration is</div>
<div># only used in internal messages created by
syslogd</div>
<div><br>
</div>
<div><br>
</div>
<div>######</div>
<div># options</div>
<div> <br>
</div>
<div>options {</div>
<div> # disable the chained hostname format
in logs</div>
<div> # (default is enabled)</div>
<div> chain_hostnames(0);</div>
<div><br>
</div>
<div> # the time to wait before a died
connection is re-established</div>
<div> # (default is 60)</div>
<div> time_reopen(10);</div>
<div><br>
</div>
<div> # the time to wait before an idle
destination file is closed</div>
<div> # (default is 60)</div>
<div> time_reap(360);</div>
<div><br>
</div>
<div> # the number of lines buffered before
written to file</div>
<div> # you might want to increase this if
your disk isn't catching with</div>
<div> # all the log messages you get or if
you want less disk activity</div>
<div> # (say on a laptop)</div>
<div> # (default is 0)</div>
<div> #sync(0);</div>
<div><br>
</div>
<div> # the number of lines fitting in the
output queue</div>
<div> log_fifo_size(2048);</div>
<div><br>
</div>
<div> # enable or disable directory
creation for destination files</div>
<div> create_dirs(yes);</div>
<div><br>
</div>
<div> # default owner, group, and
permissions for log files</div>
<div> # (defaults are 0, 0, 0600)</div>
<div> #owner(root);</div>
<div> group(adm);</div>
<div> perm(0640);</div>
<div><br>
</div>
<div> # default owner, group, and
permissions for created directories</div>
<div> # (defaults are 0, 0, 0700)</div>
<div> #dir_owner(root);</div>
<div> #dir_group(root);</div>
<div> dir_perm(0755);</div>
<div><br>
</div>
<div> # enable or disable DNS usage</div>
<div> # syslog-ng blocks on DNS queries, so
enabling DNS may lead to</div>
<div> # a Denial of Service attack</div>
<div> # (default is yes)</div>
<div> use_dns(yes);</div>
<div><br>
</div>
<div> # maximum length of message in bytes</div>
<div> # this is only limited by the program
listening on the /dev/log Unix</div>
<div> # socket, glibc can handle arbitrary
length log messages, but -- for</div>
<div> # example -- syslogd accepts only
1024 bytes</div>
<div> # (default is 2048)</div>
<div> #log_msg_size(2048);</div>
<div><br>
</div>
<div> #Disable statistic log messages.</div>
<div> stats_freq(0);</div>
<div><br>
</div>
<div> # Some program send log messages
through a private implementation.</div>
<div> # and sometimes that implementation
is bad. If this happen syslog-ng</div>
<div> # may recognise the program name as
hostname. Whit this option</div>
<div> # we tell the syslog-ng that if a
hostname match this regexp than that</div>
<div> # is not a real hostname.</div>
<div> bad_hostname("^gconfd$");</div>
<div> keep_hostname (yes);</div>
<div><br>
</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div>######</div>
<div># sources</div>
<div><br>
</div>
<div># all known message sources</div>
<div>source s_all {</div>
<div> # message generated by Syslog-NG</div>
<div> internal();</div>
<div> # standard Linux log source (this is
the default place for the syslog()</div>
<div> # function to send logs to)</div>
<div> unix-stream("/dev/log");</div>
<div> # messages from the kernel</div>
<div> file("/proc/kmsg" log_prefix("kernel:
"));</div>
<div> # use the following line if you want
to receive remote UDP logging messages</div>
<div> # (this is equivalent to the "-r"
syslogd flag)</div>
<div> # udp();</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div>######</div>
<div># destinations</div>
<div><br>
</div>
<div># some standard log files</div>
<div>destination df_auth {
file("/var/log/auth.log"); };</div>
<div>destination df_syslog {
file("/var/log/syslog"); };</div>
<div>destination df_cron {
file("/var/log/cron.log"); };</div>
<div>destination df_daemon {
file("/var/log/daemon.log"); };</div>
<div> destination df_kern {
file("/var/log/kern.log"); };</div>
<div>destination df_lpr {
file("/var/log/lpr.log"); };</div>
<div>destination df_mail {
file("/var/log/mail.log"); };</div>
<div>destination df_user {
file("/var/log/user.log"); };</div>
<div>destination df_uucp {
file("/var/log/uucp.log"); };</div>
<div><br>
</div>
<div># these files are meant for the mail system
log files</div>
<div># and provide re-usable destinations for
{mail,cron,...}.info,</div>
<div># {mail,cron,...}.notice, etc.</div>
<div>destination df_facility_dot_info {
file("/var/log/$FACILITY.info"); };</div>
<div>destination df_facility_dot_notice {
file("/var/log/$FACILITY.notice"); };</div>
<div>destination df_facility_dot_warn {
file("/var/log/$FACILITY.warn"); };</div>
<div>destination df_facility_dot_err {
file("/var/log/$FACILITY.err"); };</div>
<div>destination df_facility_dot_crit {
file("/var/log/$FACILITY.crit"); };</div>
<div><br>
</div>
<div># these files are meant for the news system,
and are kept separated</div>
<div># because they should be owned by "news"
instead of "root"</div>
<div>destination df_news_dot_notice {
file("/var/log/news/news.notice" owner("news"));
};</div>
<div>destination df_news_dot_err {
file("/var/log/news/news.err" owner("news")); };</div>
<div>destination df_news_dot_crit {
file("/var/log/news/news.crit" owner("news"));
};</div>
<div> <br>
</div>
<div># some more classical and useful files found
in standard syslog configurations</div>
<div>destination df_debug {
file("/var/log/debug"); };</div>
<div>destination df_messages {
file("/var/log/messages"); };</div>
<div><br>
</div>
<div># pipes</div>
<div># a console to view log messages under X</div>
<div>destination dp_xconsole {
pipe("/dev/xconsole"); };</div>
<div><br>
</div>
<div># consoles</div>
<div># this will send messages to everyone logged
in</div>
<div>destination du_all { usertty("*"); };</div>
<div><br>
</div>
<div><br>
</div>
<div>######</div>
<div># filters</div>
<div><br>
</div>
<div># all messages from the auth and authpriv
facilities</div>
<div>filter f_auth { facility(auth, authpriv); };</div>
<div><br>
</div>
<div># all messages except from the auth and
authpriv facilities</div>
<div>filter f_syslog { not facility(auth,
authpriv); };</div>
<div><br>
</div>
<div># respectively: messages from the cron,
daemon, kern, lpr, mail, news, user,</div>
<div># and uucp facilities</div>
<div>filter f_cron { facility(cron); };</div>
<div>filter f_daemon { facility(daemon); };</div>
<div>filter f_kern { facility(kern); };</div>
<div>filter f_lpr { facility(lpr); };</div>
<div>filter f_mail { facility(mail); };</div>
<div>filter f_news { facility(news); };</div>
<div>filter f_user { facility(user); };</div>
<div>filter f_uucp { facility(uucp); };</div>
<div><br>
</div>
<div># some filters to select messages of priority
greater or equal to info, warn,</div>
<div># and err</div>
<div># (equivalents of syslogd's *.info, *.warn,
and *.err)</div>
<div>filter f_at_least_info { level(info..emerg);
};</div>
<div>filter f_at_least_notice {
level(notice..emerg); };</div>
<div>filter f_at_least_warn { level(warn..emerg);
};</div>
<div>filter f_at_least_err { level(err..emerg); };</div>
<div>filter f_at_least_crit { level(crit..emerg);
};</div>
<div><br>
</div>
<div># all messages of priority debug not coming
from the auth, authpriv, news, and</div>
<div> # mail facilities</div>
<div>filter f_debug { level(debug) and not
facility(auth, authpriv, news, mail); };</div>
<div><br>
</div>
<div># all messages of info, notice, or warn
priority not coming form the auth,</div>
<div># authpriv, cron, daemon, mail, and news
facilities</div>
<div>filter f_messages {</div>
<div> level(info,notice,warn)</div>
<div> and not
facility(auth,authpriv,cron,daemon,mail,news);</div>
<div>};</div>
<div><br>
</div>
<div># messages with priority emerg</div>
<div> filter f_emerg { level(emerg); };</div>
<div><br>
</div>
<div># complex filter for messages usually sent to
the xconsole</div>
<div>filter f_xconsole {</div>
<div> facility(daemon,mail)</div>
<div> or level(debug,info,notice,warn)</div>
<div> or (facility(news)</div>
<div> and level(crit,err,notice));</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div>######</div>
<div># logs</div>
<div># order matters if you use "flags(final);" to
mark the end of processing in a</div>
<div># "log" statement</div>
<div><br>
</div>
<div># these rules provide the same behavior as
the commented original syslogd rules</div>
<div><br>
</div>
<div># auth,authpriv.*
/var/log/auth.log</div>
<div> log {</div>
<div> source(s_all);</div>
<div> filter(f_auth);</div>
<div> destination(df_auth);</div>
<div>};</div>
<div><br>
</div>
<div># *.*;auth,authpriv.none
-/var/log/syslog</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_syslog);</div>
<div> destination(df_syslog);</div>
<div>};</div>
<div><br>
</div>
<div># this is commented out in the default
syslog.conf</div>
<div># cron.*
/var/log/cron.log</div>
<div>#log {</div>
<div># source(s_all);</div>
<div># filter(f_cron);</div>
<div># destination(df_cron);</div>
<div>#};</div>
<div><br>
</div>
<div># daemon.*
-/var/log/daemon.log</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_daemon);</div>
<div> destination(df_daemon);</div>
<div>};</div>
<div><br>
</div>
<div># kern.*
-/var/log/kern.log</div>
<div> log {</div>
<div> source(s_all);</div>
<div> filter(f_kern);</div>
<div> destination(df_kern);</div>
<div>};</div>
<div><br>
</div>
<div># lpr.*
-/var/log/lpr.log</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_lpr);</div>
<div> destination(df_lpr);</div>
<div>};</div>
<div><br>
</div>
<div># mail.*
-/var/log/mail.log</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_mail);</div>
<div> destination(df_mail);</div>
<div>};</div>
<div><br>
</div>
<div># user.*
-/var/log/user.log</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_user);</div>
<div> destination(df_user);</div>
<div>};</div>
<div><br>
</div>
<div># uucp.*
/var/log/uucp.log</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_uucp);</div>
<div> destination(df_uucp);</div>
<div>};</div>
<div><br>
</div>
<div># <a moz-do-not-send="true"
href="http://mail.info" target="_blank">mail.info</a>
-/var/log/<a
moz-do-not-send="true" href="http://mail.info"
target="_blank">mail.info</a></div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_mail);</div>
<div> filter(f_at_least_info);</div>
<div> destination(df_facility_dot_info);</div>
<div>};</div>
<div><br>
</div>
<div># mail.warn
-/var/log/mail.warn</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_mail);</div>
<div> filter(f_at_least_warn);</div>
<div> destination(df_facility_dot_warn);</div>
<div>};</div>
<div><br>
</div>
<div># mail.err
/var/log/mail.err</div>
<div> log {</div>
<div> source(s_all);</div>
<div> filter(f_mail);</div>
<div> filter(f_at_least_err);</div>
<div> destination(df_facility_dot_err);</div>
<div>};</div>
<div><br>
</div>
<div># news.crit
/var/log/news/news.crit</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_news);</div>
<div> filter(f_at_least_crit);</div>
<div> destination(df_news_dot_crit);</div>
<div>};</div>
<div><br>
</div>
<div># news.err
/var/log/news/news.err</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_news);</div>
<div> filter(f_at_least_err);</div>
<div> destination(df_news_dot_err);</div>
<div>};</div>
<div><br>
</div>
<div># news.notice
/var/log/news/news.notice</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_news);</div>
<div> filter(f_at_least_notice);</div>
<div> destination(df_news_dot_notice);</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div># *.=debug;\</div>
<div># auth,authpriv.none;\</div>
<div># news.none;mail.none
-/var/log/debug</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_debug);</div>
<div> destination(df_debug);</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div># *.=info;*.=notice;*.=warn;\</div>
<div># auth,authpriv.none;\</div>
<div># cron,daemon.none;\</div>
<div># mail,news.none
-/var/log/messages</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_messages);</div>
<div> destination(d_eventdb);</div>
<div>};</div>
<div><br>
</div>
<div># *.emerg *</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_emerg);</div>
<div> destination(du_all);</div>
<div>};</div>
<div><br>
</div>
<div><br>
</div>
<div># daemon.*;mail.*;\</div>
<div># news.crit;news.err;news.notice;\</div>
<div># *.=debug;*.=info;\</div>
<div># *.=notice;*.=warn
|/dev/xconsole</div>
<div>log {</div>
<div> source(s_all);</div>
<div> filter(f_xconsole);</div>
<div> destination(dp_xconsole);</div>
<div>};</div>
<div>#syslog-ng2mysql destinations</div>
<div><br>
</div>
<div>source src_eventdb { </div>
<div> unix-stream("/dev/log");</div>
<div> udp(ip(0.0.0.0) port(514)); </div>
<div>};</div>
<div><br>
</div>
<div> destination d_eventdb {</div>
<div> pipe(</div>
<div>
"/usr/local/icinga/var/rw/syslog-ng.pipe",</div>
<div>
template("$HOST\t$SOURCEIP\t$PRI\t$YEAR-$MONTH-$DAY\t$HOUR:$MIN:$SEC\t$PROGRAM\t$MSG\n")</div>
<div> template_escape(no)</div>
<div> );</div>
<div>};</div>
<div><br>
</div>
<div>filter f_at_least_warn { </div>
<div># level(warn..emerg);</div>
<div> level(notice..emerg);</div>
<div>};</div>
<div><br>
</div>
<div> log {</div>
<div># source(src_eventdb);</div>
<div> filter(f_at_least_warn);</div>
<div># filter(f_syslog);</div>
<div> destination(d_eventdb);</div>
<div>};</div>
<div><br>
</div>
<div>#log {</div>
<div># source(src_eventdb);</div>
<div># filter(f_auth);</div>
<div># destination(d_eventdb);</div>
<div>#};</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>HERE FOR THE BSD/CLIENT SIDE: same here is the
default with openbsd syslog-ng install</div>
<div>with my additions at the end.</div>
<div><br>
</div>
<div>
<div>cat /etc/syslog-ng.conf
</div>
<div>#</div>
<div># Syslog-ng example configuration for for
Debian GNU/Linux</div>
<div>#</div>
<div># Copyright (c) 1999 anonymous</div>
<div># Copyright (c) 1999 Balazs Scheidler</div>
<div># $Id: syslog-ng.conf.sample,v 1.3 2003/05/20
08:57:27 asd Exp $</div>
<div>#</div>
<div># Syslog-ng configuration file, compatible
with default Debian syslogd</div>
<div># installation. </div>
<div>#</div>
<div><br>
</div>
<div>options { long_hostnames(off); sync(0);
keep_hostname(yes); use_dns(yes); stats (3600);
};</div>
<div><br>
</div>
<div>#source src { unix-stream("/dev/log");
internal(); };</div>
<div>source src { unix-dgram("/dev/log");
internal(); };</div>
<div>source net { udp(); };</div>
<div><br>
</div>
<div>destination authlog {
file("/var/log/auth.log"); };</div>
<div>destination syslog { file("/var/log/syslog");
};</div>
<div>destination cron { file("/var/log/cron.log");
};</div>
<div>destination daemon {
file("/var/log/daemon.log"); };</div>
<div>destination kern { file("/var/log/kern.log");
};</div>
<div>destination lpr { file("/var/log/lpr.log");
};</div>
<div>destination user { file("/var/log/user.log");
};</div>
<div>destination uucp { file("/var/log/uucp.log");
};</div>
<div>destination ppp { file("/var/log/ppp.log");
};</div>
<div>destination mail { file("/var/log/mail.log");
};</div>
<div><br>
</div>
<div>destination mailinfo { file("/var/log/<a
moz-do-not-send="true" href="http://mail.info"
target="_blank">mail.info</a>"); };</div>
<div>destination mailwarn {
file("/var/log/mail.warn"); };</div>
<div>destination mailerr {
file("/var/log/mail.err"); };</div>
<div><br>
</div>
<div>destination newscrit {
file("/var/log/news/news.crit"); };</div>
<div>destination newserr {
file("/var/log/news/news.err"); };</div>
<div>destination newsnotice {
file("/var/log/news/news.notice"); };</div>
<div><br>
</div>
<div>destination debug { file("/var/log/debug");
};</div>
<div>destination messages {
file("/var/log/messages"); };</div>
<div>destination console { usertty("root"); };</div>
<div>destination console_all { file("/dev/tty12");
};</div>
<div>#destination loghost { udp("loghost"
port(999)); };</div>
<div><br>
</div>
<div> <br>
</div>
<div>destination xconsole { pipe("/dev/xconsole");
};</div>
<div><br>
</div>
<div><br>
</div>
<div>#ssh filter</div>
<div>filter f_sshderr { match('^sshd\[[0-9]+\]:
error:'); };</div>
<div>filter f_sshd {
match('^sshd\[[0-9]+\]:'); };</div>
<div>#</div>
<div>filter f_auth { facility(auth); };</div>
<div>filter f_authpriv { facility(auth, authpriv);
};</div>
<div>filter f_syslog { not facility(authpriv,
mail); };</div>
<div>filter f_cron { facility(cron); };</div>
<div>filter f_daemon { facility(daemon); };</div>
<div>filter f_kern { facility(kern); };</div>
<div>filter f_lpr { facility(lpr); };</div>
<div>filter f_mail { facility(mail); };</div>
<div>filter f_user { facility(user); };</div>
<div>filter f_uucp { facility(cron); };</div>
<div>filter f_ppp { facility(local2); };</div>
<div>filter f_news { facility(news); };</div>
<div>filter f_debug { not facility(auth, authpriv,
news, mail); };</div>
<div>filter f_messages { level(info..warn) </div>
<div> and not facility(auth, authpriv,
mail, news); };</div>
<div>filter f_emergency { level(emerg); };</div>
<div><br>
</div>
<div>filter f_info { level(info); };</div>
<div>filter f_notice { level(notice); };</div>
<div> filter f_warn { level(warn); };</div>
<div>filter f_crit { level(crit); };</div>
<div>filter f_err { level(err); };</div>
<div><br>
</div>
<div>log { source(src); filter(f_authpriv);
destination(authlog); };</div>
<div>log { source(src); filter(f_syslog);
destination(syslog); };</div>
<div>log { source(src); filter(f_cron);
destination(cron); };</div>
<div>log { source(src); filter(f_daemon);
destination(daemon); };</div>
<div>log { source(src); filter(f_kern);
destination(kern); };</div>
<div>log { source(src); filter(f_lpr);
destination(lpr); };</div>
<div>log { source(src); filter(f_mail);
destination(mail); };</div>
<div>log { source(src); filter(f_user);
destination(user); };</div>
<div>log { source(src); filter(f_uucp);
destination(uucp); };</div>
<div>log { source(src); filter(f_mail);
filter(f_info); destination(mailinfo); };</div>
<div>log { source(src); filter(f_mail);
filter(f_warn); destination(mailwarn); };</div>
<div>log { source(src); filter(f_mail);
filter(f_err); destination(mailerr); };</div>
<div>log { source(src); filter(f_news);
filter(f_crit); destination(newscrit); };</div>
<div>log { source(src); filter(f_news);
filter(f_err); destination(newserr); };</div>
<div>log { source(src); filter(f_news);
filter(f_notice); destination(newsnotice); };</div>
<div>log { source(src); filter(f_debug);
destination(debug); };</div>
<div>log { source(src); filter(f_messages);
destination(messages); };</div>
<div>log { source(src); filter(f_emergency);
destination(console); };</div>
<div>log { source(src); filter(f_ppp);
destination(ppp); };</div>
<div>log { source(src); destination(console_all);
};</div>
<div><br>
</div>
<div>#sent to our central log server running
eventdb </div>
<div>destination loghost { udp("192.168.xxx.xxx"
port(514)); };</div>
<div>log { source(src); filter(f_info);
destination(loghost); };</div>
<div>log { source(src); filter(f_syslog);
destination(loghost); };</div>
<div>log { source(src); filter(f_authpriv);
destination(loghost); };</div>
<div>log { source(src); filter(f_user);
destination(loghost); };</div>
<div> log { source(src); filter(f_emergency);
destination(loghost); };</div>
<div>log { source(src); filter(f_sshd);
destination(loghost); };</div>
<div>log { source(src); filter(f_sshderr);
destination(loghost); };</div>
<div>log { source(src); filter(f_kern);
destination(loghost); };</div>
</div>
<div><br>
</div>
</div>
</div>
<pre><fieldset></fieldset>
______________________________________________________________________________
Member info: <a moz-do-not-send="true" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a moz-do-not-send="true" href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a moz-do-not-send="true" href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a>
</pre>
</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</body>
</html>