Dropping Logs

General discussions here

Moderator: rgerhards

Dropping Logs

Postby dunkin1433 » Thu Jun 11, 2009 8:58 pm

Hello, I have been having a problem lately where rsyslog is dropping logs that the server is receiving I am only receiving about 23/sec and for the most part only about 25% are being written to my mysql table. I have tried almost every version and the problem seems to persist. The problem didn't start until I added the template. Thank you!

My config is as follows -

Code: Select all
$ModLoad imudp
$UDPServerRun 514
$UDPServerRun 1514

$ModLoad ommysql.so

$template MySQLInsert,"INSERT INTO SystemEvents_%$DAY% (ReceivedAt,DeviceReportedTime,Facility,Priority,FromHost,Message,InfoUnitID,SysLogTag) VALUES ('%timegenerated:::date-mysql%','%timereported:::date-mysql%','%syslogfacility%','%syslogpriority%','%hostname%','%msg%','1','%syslogtag%')\r\n",stdsql


*.*       :ommysql:127.0.0.1,logd,root,901jackson;MySQLInsert
dunkin1433
New
 
Posts: 4
Joined: Thu Jun 11, 2009 8:51 pm

Professional Services Information

  • Custom written rsyslog.conf?
  • Maintenance Contract?
  • Installation support?

Re: Dropping Logs

Postby dunkin1433 » Thu Jun 11, 2009 9:06 pm

I'll keep everyone posted but the most recent devel version seems to be working for me right now.
dunkin1433
New
 
Posts: 4
Joined: Thu Jun 11, 2009 8:51 pm

Re: Dropping Logs

Postby dunkin1433 » Mon Jun 15, 2009 8:39 pm

It seems to be doing it again. I wonder if it has something to do with me dynamically select the table?
dunkin1433
New
 
Posts: 4
Joined: Thu Jun 11, 2009 8:51 pm

Re: Dropping Logs

Postby dunkin1433 » Mon Jun 15, 2009 9:31 pm

Just some additional information -

When I startup rsyslogd I can see the UDP packets received increasing in "netstat -s" however after about 5 seconds it stops and the UDP packet receive errors starts increasing. I have tried to adjust the UDP buffer size and that does not seem to make a difference.

Hope someone can help.
dunkin1433
New
 
Posts: 4
Joined: Thu Jun 11, 2009 8:51 pm

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 0 guests

cron