On Tue, 22 Oct 2013, Rainer Gerhards wrote:

Hi all,

I wonder what are the actual use cases behind the desire to have global
variables in rsyslog. There are two that I know (I describe them very
briefly as they were expressed at length in the past couple of days):

1. counting messages for some reason
2. load-balancing output actions

Number 2 is - I think - a weak one, as this should better go into a
specific facility inside the engine (read: nothing that the admin should
need to emulate in the conf file).

Are there any other *real-world* use cases?

I am asking because I would like to think if future development directions
of the rsyslog engine should consider the re-addition of global variable
support (which requires a major rewrite).

well, the original request that lead to getting global variables added was to have the contents of one message set a variable that could be used in processing future messages.

For this use, the current functionality works as-is.

David Lang
_______________________________________________
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