Graylog2 / graylog-plugin-pipeline-processor

[DEPRECATED] Graylog Pipeline Message Processor Plugins
https://www.graylog.org/
GNU General Public License v3.0
21 stars 15 forks source link

Feature Request: Ability to reorder pipeline rules within a stage #248

Closed ghost closed 6 years ago

ghost commented 6 years ago

Feature description

As graylog pipelines work in a first-match wins way, I think a good bit of functionality to implement would be the ability to reorder the rules within a given stage of a pipeline. Drag-and-Drop style would be good, like we have in the Message Processors Configuration section of System / Configurations

Current solution to functionality

Current solution to do this means deleting the rule and re-adding it. This can be rather annoying if you need the rule to be above others currently in the pipeline but after a new rule that you're wanting to add, depending on the scenario, you could end up having to remove all rules from the pipeline and re-adding them.

Environment

joschi commented 6 years ago

@Nihlander All rules in a given pipeline stage are being executed at the same time.

If you want ordering, you'll have to use stages for that.

Also see http://docs.graylog.org/en/2.4/pages/pipelines/pipelines.html

Think of stages as groups of conditions and actions which need to run in order.