If you want actions to take place all the time, you can eliminate the filter and just do the action, so eliminate *.* and &

I suspect that the & is tripping you up, when an output is suspended, following actions with & aren't being executed because the first is suspended.

David Lang

On Tue, 4 Nov 2014, Boylan, James wrote:

I'm attempting to use this function, however when the first action is 
suspended, the follow up actions never seem to execute. It just sits in a 
'Suspended' state forever. Any help on this would be appreciated since from 
what I can tell it is configured the way it should be.


*.*                                                 
action(name="flume_collector.server2"
                                                          type="omfwd"
                                                          Target="server2"
                                                          Port="41414"
                                                          Protocol="tcp"
                                                          
queue.type="Fixedarray"
                                                          queue.size="5000"
                                                          
queue.dequeuebatchsize="1"
                                                          
queue.workerthreads="16"
                                                          
template="flume-collector-Template")
&                                                   
action(name="flume_collector.server3"
                                                          type="omfwd"
                                                          Target="server3"
                                                          Port="41414"
                                                          Protocol="tcp"
                                                          
queue.type="Fixedarray"
                                                          queue.size="5000"
                                                          
queue.dequeuebatchsize="1"
                                                          
queue.workerthreads="16"
                                                          
action.execOnlyWhenPreviousIsSuspended="on"
                                                          
template="flume-collector-Template")
&                                                   
action(name="flume_collector.server1"
                                                          type="omfwd"
                                                          Target="server1"
                                                          Port="41414"
                                                          Protocol="tcp"
                                                          
queue.type="Fixedarray"
                                                          queue.size="5000"
                                                          
queue.dequeuebatchsize="1"
                                                          
queue.workerthreads="16"
                                                          
action.execOnlyWhenPreviousIsSuspended="on"
                                                          
template="flume-collector-Template")

?

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