Logging, Syslog and Log Anaylsys Forums
July 30, 2010, 09:45:15 pm
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
WIKI
BLOG
Help
Search
Recent Topics
GoogleTagged
Login
Register
Logging, Syslog and Log Anaylsys Forums
>
Forums
>
syslog-ng
>
sporadic logging of remote syslog messages
Pages: [
1
]
« previous
next »
Print
Author
Topic: sporadic logging of remote syslog messages (Read 695 times)
Gernreich
Newbie
Offline
Posts: 8
sporadic logging of remote syslog messages
«
on:
February 17, 2010, 02:17:36 pm »
I have source udp(); set up to log to a local file destination, no filter is being used. The general network traffic is low to this syslog-ng server. What I see happening is that out of twenty or so identical syslog messages (sent as a test, one per second) only one or two are making it to the file. I used tcpdump and wireshark to be sure that the syslogs were reaching my network card. They are. What is stumping me is why only around 5% are making it to the file.
Thanks!
Logged
Admin
Administrator
Newbie
Offline
Posts: 146
Re: sporadic logging of remote syslog messages
«
Reply #1 on:
February 18, 2010, 10:41:20 am »
What version of syslog-ng are you using?
Logged
Admin
Administrator
Newbie
Offline
Posts: 146
Re: sporadic logging of remote syslog messages
«
Reply #2 on:
February 18, 2010, 10:46:31 am »
Also, are you seeing any STATS messages in the log file?
Logged
Gernreich
Newbie
Offline
Posts: 8
Re: sporadic logging of remote syslog messages
«
Reply #3 on:
February 18, 2010, 12:04:30 pm »
Version 1.3.7 on a SuSe box
Logged
Gernreich
Newbie
Offline
Posts: 8
Re: sporadic logging of remote syslog messages
«
Reply #4 on:
February 18, 2010, 12:17:02 pm »
I am seeing a great number of the STATS messages on the server that has a much higher network load. On the test server with a low network load I am not seeing any. So Perhaps that is the issue?
Logged
Gernreich
Newbie
Offline
Posts: 8
Re: sporadic logging of remote syslog messages
«
Reply #5 on:
February 18, 2010, 12:42:22 pm »
I am logging to a file on the hard drive, not a pipe however.
Logged
Gernreich
Newbie
Offline
Posts: 8
Re: sporadic logging of remote syslog messages
«
Reply #6 on:
February 18, 2010, 12:43:26 pm »
I just got a STATS: dropped 2630
Logged
Admin
Administrator
Newbie
Offline
Posts: 146
Re: sporadic logging of remote syslog messages
«
Reply #7 on:
February 18, 2010, 12:59:25 pm »
Interesting...
Try adding log_fifo_size(1000); to the options {}; section. Also, you may want to try upgrading to a recent version - 1.3.7 is quite old and may well have some bugs.
Logged
Gernreich
Newbie
Offline
Posts: 8
Re: sporadic logging of remote syslog messages
«
Reply #8 on:
February 18, 2010, 02:16:03 pm »
Thank for the advice, I will do so!
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Forums
-----------------------------
=> Syslog & syslogd
=> syslog-ng
=> Log Data and Analysis
=> Windows Event Log
=> Web Server Logs
=> Security Event Management
=> General Discussion
===> Red Light District
Loading...