[syslog-ng] importing old syslog-ng messages

Mike mike at jeke.fdns.net
Wed Nov 5 21:51:35 CET 2008


Heya,

when ever I have to replay old logs back into syslog-ng, I create a FIFO 
on the file system, and make syslog-ng listen to that pipe.

you can then cat which ever old files you have into that pipe, and 
syslog-ng will handle them like they are new.

just make sure that you have syslog-ng configured to use that pipe 
source() when sending it to your database.

I can provide config example of what I just said if you want.


Mike

On Wed, 5 Nov 2008, Daniel L. Spells Sr. wrote:

> Sirs,
>
> Is there a way to import /var/log/messages, created by syslog-ng, into
> syslog-ng to be placed into a database?
>
> Daniel
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.campin.net/syslog-ng/faq.html
>
>


More information about the syslog-ng mailing list