I noticed that file compression is not currently implemented in syslog-ng 1.6.5. Is file compression expected in the near future. I need integrated file compression because writing from syslog, then reading to compress then writing the compressed data is killing my disk io. 1 write, 1 read, ~1/3 write If anybody has got something in cvs let me know. I am interested in lzo compression rather then bz2 or z(gzip). lzo it is about 1/2 space efficient as z, but it is also about 4 times faster. Which suits my needs of realtime compression better. -tim.
On Mon, 2004-11-15 at 03:29, Timothy Webster wrote:
I noticed that file compression is not currently implemented in syslog-ng 1.6.5. Is file compression expected in the near future. I need integrated file compression because writing from syslog, then reading to compress then writing the compressed data is killing my disk io. 1 write, 1 read, ~1/3 write
Sorry, not currently.
If anybody has got something in cvs let me know. I am interested in lzo compression rather then bz2 or z(gzip). lzo it is about 1/2 space efficient as z, but it is also about 4 times faster. Which suits my needs of realtime compression better.
Are there any libz-like libraries for your proposed algorithm? -- Bazsi
Hi Folks, I am using syslog-ng as a syslog server for Cisco Content Switches. I receive logs and all fine. The only problem is I receive the syslog message but no hostname associated with it. When I move it to syslogd, i receive hostnames as well. Here is the quick example. NOV 15 02:35:40 1/1 3880 NETMAN-1: TRAP:Authentication:Generated by: 1.1.1.1 (this is the actual syslog message generated) syslog-ng displays as it but syslogd displays it as: NOV 15 02:35:40 alpha.beta.com 1/1 3880 NETMAN-1: TRAP:Authentication:Generated by: 1.1.1.1 I really need DNS names to be displayed otherwise I simply dont know which device is logging this message. Pls let me know if something needs to be added in my conf file. thx in advance Shahid
On Mon, Nov 15, 2004 at 09:54:07AM -0800, Shahid Shafi wrote:
I am using syslog-ng as a syslog server for Cisco Content Switches. I receive logs and all fine. The only problem is I receive the syslog message but no hostname associated with it. When I move it to syslogd, i receive hostnames as well. Here is the quick example.
NOV 15 02:35:40 1/1 3880 NETMAN-1: TRAP:Authentication:Generated by: 1.1.1.1
(this is the actual syslog message generated)
syslog-ng displays as it but syslogd displays it as:
NOV 15 02:35:40 alpha.beta.com 1/1 3880 NETMAN-1: TRAP:Authentication:Generated by: 1.1.1.1
If syslogd is showing a name but syslog-ng is not, then syslog-ng is probably deciding that "1/1" is your hostname. Try the bad_hostname() option. There are examples here: http://www.campin.net/syslog-ng/solaris-conf.txt http://www.campin.net/syslog-ng/expanded-syslog-ng.conf -- Nate "The existing phrasebooks are inadequate. They are well enough as far as they go, but when you fall down and skin your leg they don't tell you what to say." - Samuel Clemens
On Mon, 15 Nov 2004 10:14:06 +0100 Balazs Scheidler <bazsi@balabit.hu> wrote:
On Mon, 2004-11-15 at 03:29, Timothy Webster wrote:
I noticed that file compression is not currently implemented in syslog-ng 1.6.5. Is file compression expected in the near future. I need integrated file compression because writing from syslog, then reading to compress then writing the compressed data is killing my disk io. 1 write, 1 read, ~1/3 write
Sorry, not currently.
If anybody has got something in cvs let me know. I am interested in lzo compression rather then bz2 or z(gzip). lzo it is about 1/2 space efficient as z, but it is also about 4 times faster. Which suits my needs of realtime compression better.
Are there any libz-like libraries for your proposed algorithm?
Library http://www.oberhumer.com/opensource/lzo/download/lzo-1.08.tar.gz coding example http://www.lzop.org/ -tim.
participants (4)
-
Balazs Scheidler
-
Nate Campi
-
Shahid Shafi
-
Timothy Webster