graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

When creating new pipeline rule, use the "example" template by default

Open tellistone opened this issue 3 years ago • 1 comments

Two thoughts:

  1. When I'm writing a new pipeline rule (that I don't start by copy-pasting in from another pipeline rule), I always do the following:
  • Click on "Example"

  • Ctrl-C image

  • Ctrl-V image

  1. When I was new to pipeline rules, I clicked onto this screen (with a blank field for "Rule source") and thought "oh no, I don't even know what a pipeline rule should look like"

IDEA

What if, when you go to create a new pipeline rule, the Rule Source dialogue were populated with the example or something similar to guide structure and provide the mandatory components of a rule like rule, when, then and end - by default? It would save repeating this process every time, help people new to pipeline rules, and be no obstacle to copy-pasting in a different rule template if you are experienced.

image

tellistone avatar Apr 19 '22 10:04 tellistone

Related: #11654

coffee-squirrel avatar Jul 13 '22 14:07 coffee-squirrel

New rule UI will greatly simplify this https://github.com/Graylog2/graylog-plugin-enterprise/issues/5412

patrickmann avatar Jul 26 '23 14:07 patrickmann