[rsyslog-notify] Forum Thread: Re: Log to message to Azure - (Mode 'reply')

noreply at adiscon.com noreply at adiscon.com
Tue Sep 15 01:55:26 CEST 2015


User: dlang 
Forumlink: http://kb.monitorware.com/viewtopic.php?p=25911#p25911

Message: 
----------
so you need to invoke your app separately for each message that you want to
have delivered to it? you can't read from stdin or anything like that?

having to pay the mono startup overhead for every single message is going
to absolutely kill your performance. Rsyslog doesn't support anything like
this directly, but you could write a script that you run via omprog that
did something like the following on linux

while read line; do
mono myapp.exe $line
done

this will loop through reading from stdin and invoking your app for each
line it reads.


More information about the rsyslog-notify mailing list