<!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">
<font size="-1"><font face="Helvetica, Arial, sans-serif">You cant,
otherwise the fallback solution would be easy to implement. The problem
arises from the way syslog-ng processes multiple destinations. If you
have multiple destinations, syslog-ng hands the message to the first
destination driver, and then hands it to the second. The first driver
may not have even written out the message when the second driver gets
it, it just has it in its queue. This is so that if you are indeed
logging to multiple destinations, and the first destination is dead, it
wont hold up the second destination.<br>
In theory, I guess it might be possible for the destination driver to
hand the message back to the syslog-ng core, and let it send it to an
alternate destination, but this would have to be driver specific, as
there is no common way of doing this that all the destination drivers
would be able to easily implement :-(<br>
</font></font><br>
Sent: Sunday, April 25, 2010 10:51:29 PM<br>
From: noel anderson <a class="moz-txt-link-rfc2396E" href="mailto:nascentcatalyst@yahoo.com">&lt;nascentcatalyst@yahoo.com&gt;</a><br>
To: <a class="moz-txt-link-abbreviated" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a> <br>
Subject: Re: [syslog-ng] Process stored logs
<blockquote cite="mid:558259.56341.qm@web94805.mail.in2.yahoo.com"
 type="cite">
  <pre wrap="">Thanks patrick.

This raises another  question, how can I Quantify processed logs. Like what is been processed/ un-processed/ lost.


Thanks,
Noel (hsxtrt)

Date: Thu, 22 Apr 2010 11:26:59 -0600
From: "Patrick H." <a class="moz-txt-link-rfc2396E" href="mailto:syslogng@feystorm.net">&lt;syslogng@feystorm.net&gt;</a>
Subject: Re: [syslog-ng] Process stored logs
To: Syslog-ng users' and developers' mailing list
    <a class="moz-txt-link-rfc2396E" href="mailto:syslog-ng@lists.balabit.hu">&lt;syslog-ng@lists.balabit.hu&gt;</a>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:4BD086E3.3030200@feystorm.net">&lt;4BD086E3.3030200@feystorm.net&gt;</a>
Content-Type: text/plain; charset="iso-8859-1"

The log_fifo_size variable controls how many messages the output buffer 
will hold. So if server Z is relaying to A, and A goes down, Z will 
start storing messages in this buffer. Unfortunately there is no way to 
say 'if destination A fails, log to destination A2 (which may be a file 
output or something) instead'. The premium version does support 
disk-based buffering though, so that if log_fifo_size fills up, it'll 
start writing out to a disk based file instead.

Sent: Thursday, April 22, 2010 12:13:40 AM
From: noel anderson <a class="moz-txt-link-rfc2396E" href="mailto:nascentcatalyst@yahoo.com">&lt;nascentcatalyst@yahoo.com&gt;</a>
To: <a class="moz-txt-link-abbreviated" href="mailto:syslog-ng@lists.balabit.hu">syslog-ng@lists.balabit.hu</a>
Subject: [syslog-ng] Process stored logs
  </pre>
  <blockquote type="cite">
    <pre wrap="">I'm building an infra across the geo's to collect logs at a central repository. I have set up syslog-ng  in 3 geo's (say for e.g X, Y, Z) to collect logs form servers in respective Geo. A forurth server (say for eg. A)  where the logs are forwarded from the 3 log servers to aggregate all the logs from all GEO's.
 
The problem where I fail to understand is, if my aggregator server (A) goes down, how do i process my stored logs on (X,) (Y), (Z), so that i do not loose any logs during my downtime.
 
Is it possible to process backlog of logs on the server or do i have to change my infra so that i do not loose these logs?

Thanks
Noel (hsxtrt)
    </pre>
  </blockquote>
  <pre wrap=""><!---->

______________________________________________________________________________
Member info: <a class="moz-txt-link-freetext" href="https://lists.balabit.hu/mailman/listinfo/syslog-ng">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a>
Documentation: <a class="moz-txt-link-freetext" href="http://www.balabit.com/support/documentation/?product=syslog-ng">http://www.balabit.com/support/documentation/?product=syslog-ng</a>
FAQ: <a class="moz-txt-link-freetext" href="http://www.campin.net/syslog-ng/faq.html">http://www.campin.net/syslog-ng/faq.html</a>

  </pre>
</blockquote>
</body>
</html>