On Oct 24, 2013, at 11:16 AM, David Lang <[email protected]> wrote:

> On Thu, 24 Oct 2013, Boylan, James wrote:
> 
>> Does anyone have a suggestion of tools for simulating 100k+ messages per 
>> second load to a syslog server? I need a means of tuning and actively 
>> testing. 
>> If need be I can build my own tool, but it would be nice to save some time.
> 
> tcpreplay can be used. capture some log data with tcpdump and then you can 
> replay it at a configurable speed with tcpreplay.

This is not exactly what you asked for, but depending on which thing you're 
trying to stress-test, you may also want to consider replay-log:

https://github.com/thrig/sial.org-scripts/blob/master/logging/replay-log

which will let you replay existing logfiles (preserving time delays between 
logs) at 1x or faster speed.  If you're just focusing on rsyslog itself (and 
not including the networking stack of the OS as well), you can replay-log an 
existing logfile to a new one, then read that with rsyslog imfile.  (And of 
course you can then use the same input file for repeated tests.)

- Dave
_______________________________________________
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