hi all, is it possible to use "/var/log/messages" file as a source driver to syslog-ng program?????? if yes then how???? can anyone tell me how to use "file("filename" [options])" ???????i got some idea from balabit.hu but not enough to start working with it. thanx in advance salim.
Somewhere in the docs/faq I saw there was a command that would allow you to do sth like: tail -f /var/log/messages| loggtosyslog facility priority Just search the docs/faq on the syslog-ng website... HTH. Mohamed~ Salim A. Pathan wrote:
hi all,
is it possible to use "/var/log/messages" file as a source driver to syslog-ng program?????? if yes then how???? can anyone tell me how to use "file("filename" [options])" ???????i got some idea from balabit.hu but not enough to start working with it.
thanx in advance salim.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
Here is what I did when I needed to have a STANDARD HP-UX syslog daemon running on a syslog relay, but wanted the features of syslog-ng. I started syslog-ng on the standard syslog port and do what I wanted it to do, EXCEPT write to the local files that the standard HP syslog daemon would normally do. I had syslog-ng forward all syslog messages to a high port for syslog and started the standard syslog on that high port using the standard syslog.conf. Now I can use syslog-ng and syslog-ng.conf, but I ignore all the usual destination files on the local host, those I leave to syslog.conf and OLD syslog. But for filtering and forwarding and forwarding and such I let syslog-ng handle it. On Fri, 2002-11-22 at 02:00, Salim A. Pathan wrote:
hi all,
is it possible to use "/var/log/messages" file as a source driver to syslog-ng program?????? if yes then how???? can anyone tell me how to use "file("filename" [options])" ???????i got some idea from balabit.hu but not enough to start working with it.
thanx in advance salim.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (3)
-
Ben Russo
-
Mohamed Lrhazi
-
Salim A. Pathan