Feeding updtes in a text file to remote syslog server continuously
Posted on 2009-05-06
I am trying to find a solution to feed the text log files of some application servers to remote syslog server.
Remote syslog server is running syslog-ng and setup to deliver the incoming log records to different files per host. So the setup is ready.
What I am looking for is a mechanism to feed the content of these text files to remote syslog server via syslog protocol (logger for example). As I don't want to interfere with the application itself, I don't want to modify it to send directly to syslog. A utility would be perfect to capture everything appended to the text file and send it via syslog protocol. This will also make sure that any problem on syslog server or the utility itself will not affect the application's availability.
Any information on this will be appreciated.
Thanks and regards..
-Suleyman Kutlu (SNK)