Hi Pavel,

Thanks for the update. That was exactly my point, that it works with what
currently is in rsyslog.

So whenever there's time&need, implementing something like that makes
sense. I just brought up the idea of a place to put some "commons" that
might be re-used for other output modules.


2013/12/15 Pavel Levshin <[email protected]>

>
> 15.12.2013 14:36, Radu Gheorghe:
>
>  I'm thinking it might be useful to make "official connectors" for other
>> languages. For example, some module (thinking about Python now, but the
>> idea should work everywhere) that would read a batch of JSONs from the
>> command line and put them in some small internal queue. Then, there could
>> be an interface that will allow programs using this module to:
>> a) change those messages and do whatever, like change the date
>> b) pull a batch and push it somewhere
>>
>>
> All this can be done even with current module interfaces, but there is not
> enough demand. Personally, I've considered writing such an interface to
> Python or Perl, but now all I needed now works without it.
>
> For example, there is a Python interface module from FreeRADIUS, which
> essentially has the same model as in rsyslog: messages, queues, modules.
> https://github.com/FreeRADIUS/freeradius-server/tree/master/
> src/modules/rlm_python
> It is fairly simple... But you need to write a module for each language
> you want to support.
>
>
> --
> Pavel Levshin
>
>
> _______________________________________________
> 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.
>
_______________________________________________
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