syslog-ng and stunnel
Hello, I've been able to find anything in the archives pertaining to this.... I've successfully set up syslog-ng to tunnel through stunnel. I'm having one problem though, all messages come through with a hostname of "localhost", presumably since stunnel is coming from localhost on the syslog server.... Obviously it's hard to tell which server is generating the syslog message if they're all showing up as "localhost"... :) Does anyone have any workarounds for this problem? Thanks, Eric Parusel
I've been able to find anything in the archives pertaining to this....
I've successfully set up syslog-ng to tunnel through stunnel. I'm having one problem though, all messages come through with a hostname of "localhost", presumably since stunnel is coming from localhost on the syslog server.... Obviously it's hard to tell which server is generating the syslog message if they're all showing up as "localhost"... :)
Does anyone have any workarounds for this problem?
options { keep_hostname(yes); }; -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
I use this line in the config options { long_hostnames(on); keep_hostname (yes); sync(0); use_fqdn(off); use_dns(off); create_dirs(yes); log_fifo_size(100000);}; and it works. ----- Original Message ----- From: "Eric Parusel" <lists@globalrelay.net> To: <syslog-ng@lists.balabit.hu> Sent: Wednesday, May 16, 2001 12:53 AM Subject: [syslog-ng]syslog-ng and stunnel
Hello,
I've been able to find anything in the archives pertaining to this....
I've successfully set up syslog-ng to tunnel through stunnel. I'm having one problem though, all messages come through with a hostname of "localhost", presumably since stunnel is coming from localhost on the syslog server.... Obviously it's hard to tell which server is generating the syslog message if they're all showing up as "localhost"... :)
Does anyone have any workarounds for this problem?
Thanks,
Eric Parusel
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
This works great, thanks to both of you who posted....! Eric Parusel
I use this line in the config
options { long_hostnames(on); keep_hostname (yes); sync(0); use_fqdn(off); use_dns(off); create_dirs(yes); log_fifo_size(100000);};
and it works.
----- Original Message ----- From: "Eric Parusel" <lists@globalrelay.net> To: <syslog-ng@lists.balabit.hu> Sent: Wednesday, May 16, 2001 12:53 AM Subject: [syslog-ng]syslog-ng and stunnel
Hello,
I've been able to find anything in the archives pertaining to this....
I've successfully set up syslog-ng to tunnel through stunnel. I'm having one problem though, all messages come through with a hostname of "localhost", presumably since stunnel is coming from localhost on the syslog server.... Obviously it's hard to tell which server is generating the syslog message if they're all showing up as "localhost"... :)
Does anyone have any workarounds for this problem?
Thanks,
Eric Parusel
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng
participants (3)
-
Balazs Scheidler
-
Dennis Kruyt
-
Eric Parusel