with current versions of rsyslog, there is a batch mode that was created specifically for this, however, rsyslog works to minimize the latency in getting the logs into the database, so if the log rate is low enough to be inserted one at a time, that's what will happen. As the log volume increases, things will not keep up (either on the database side or the rsyslog side) and messages will be processed in batches.

David Lang



 On Sat, 19 Mar 2016, Eugene Prokopiev wrote:

Date: Sat, 19 Mar 2016 15:19:14 +0300
From: Eugene Prokopiev <[email protected]>
Reply-To: rsyslog-users <[email protected]>
To: rsyslog-users <[email protected]>
Subject: [rsyslog] postgresql bulk insertions

Hi,

I have rsyslog configured with postgresql storage and I see postgresql
inserts count = postgresql transactions count. Is it possible to
configure bulk insertion: accumulate log messages and write them by
one copy call in one transaction?


_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to