Created one pipeline processing rule which is connected to stream "abc". The processing works fine, until I add 2 streams with the same name. For example the streams "bcd" and "bcd". Pipeline Processing then crashes and appends an error on all messages to be processed (from stream abc).
gl2_processing_error For rule 'from 10.250.x.x': In call to function 'route_to_stream' at 8:4 an exception was thrown: Multiple entries with same key: AD Failed Logons=5835a2844c5768163e4668f9: "AD Failed Logons" and AD Failed Logons=582ed5844c576818ca47358b: "AD Failed Logons". To index multiple values under a key, use Multimaps.index.
In my pipeline rule I used the function "route_tostream("xyz").
"abc", "bcd","bcd" & "xyz" are stream names._
Expected Behavior
Pipeline should work even if two streams have the same name.
If this isn't possible the pipeline should at least run, if the duplicated stream isn't used in the pipeline rule.
Current Behavior
Pipeline processing appends gl2_processing_error to all messages on which it runs.
Possible Solution
Make Streamnames unique
Show an error globally on the graylog interface
produce all other stream rules
Steps to Reproduce (for bugs)
Build up 4 streams "abc", "bcd","bcd","xyz"
rule "Test" when true then route_to_stream("xyz"); end
Connect the rule & to the stream "abc"
See that there is an error appended to all messages on "abc"
Created one pipeline processing rule which is connected to stream "abc". The processing works fine, until I add 2 streams with the same name. For example the streams "bcd" and "bcd". Pipeline Processing then crashes and appends an error on all messages to be processed (from stream abc).
gl2_processing_error For rule 'from 10.250.x.x': In call to function 'route_to_stream' at 8:4 an exception was thrown: Multiple entries with same key: AD Failed Logons=5835a2844c5768163e4668f9: "AD Failed Logons" and AD Failed Logons=582ed5844c576818ca47358b: "AD Failed Logons". To index multiple values under a key, use Multimaps.index.
In my pipeline rule I used the function "route_tostream("xyz"). "abc", "bcd","bcd" & "xyz" are stream names._
Expected Behavior
Pipeline should work even if two streams have the same name. If this isn't possible the pipeline should at least run, if the duplicated stream isn't used in the pipeline rule.
Current Behavior
Pipeline processing appends
gl2_processing_error
to all messages on which it runs.Possible Solution
Steps to Reproduce (for bugs)
rule "Test" when true then route_to_stream("xyz"); end
Your Environment