[syslog-ng] Need help with having Syslog-ng import a log file into

Alexander Clouter ac56 at soas.ac.uk
Fri Nov 17 17:51:57 CET 2006


Hi,

Steven Meacham <smeacham at charter.net> [20061117 10:26:17 -0600]:
> 
> Need help with having Syslog-ng import a log file into Syslog-ng. I have a
> proxy server that will not syslog but will log to a file than can ftp of the
> server. I am wondering how I can take the ftped file and send it to the
> Syslog-ng so It can be sysloged to our database server for review? Any help
> would be great? Thanks.
> 
ewwwwwww.  Change proxy server :)  Squid is really nice to syslog with :)

If its a UNIX box you could still run syslog-ng, get your proxy to log to a 
pipe device.

http://www.balabit.com/products/syslog_ng/reference-2.0/syslog-ng.html/index.html#id2525602

If its not even windoze supports pipes and you could write some code to 
generate the simple UDP syslog messages and send them to a central server.

Remove FTP from the loop, or any file transfer protocol; even the network 
filesystems.  You are making it too complicated.

Cheers

Alex

> _______________________________________________
> syslog-ng maillist  -  syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
> 



More information about the syslog-ng mailing list