<!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="#000000">
Marton,<br>
<br>
Thanks for the info. Adding it to the source did the trick and I am up
and running. Thanks again.<br>
<br>
-Patrick<br>
<br>
-----------------------------------<br>
<br>
ILLES, Marton wrote:
<blockquote cite="mid:1240999931.16574.1.camel@octane" type="cite">
<pre wrap="">On Mon, 2009-04-27 at 22:01 -0700, Patrick Topping wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I am setting up syslog-ng to tail a database query log and have it
sent to a central server for analysis / archiving. I have it
partially working. I am able to send the UDP packets to the central
server but I cannot get them to be sent to central server @ local6.
Below is my source, destination, & log lines:
source s_general_db_log {
file ("/var/lib/mysql/mysql/general_log.CSV" flags(no-parse)
follow_freq(1) program_override("vchat3dev-db002_mysql_db_log:") ); };
destination d_central { udp( "10.0.4.162" port(514) ); };
log { source(s_general_db_log); destination(d_central); };
I have tried adding in a facility option to the destination but it
does not work. Any help with what I am missing would be greatly
appreciated. Thanks in advance.
</pre>
</blockquote>
<pre wrap=""><!---->
Hi,
You can add the facility() and priority() options to the source,
otherwise it sets user/notice.
M
</pre>
</blockquote>
</body>
</html>