Graylog2 / graylog-plugin-pipeline-processor

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

Whitelist for fields #18

Open kroepke opened 8 years ago

kroepke commented 8 years ago

To make sure messages do not contain any fields not on the whitelist, we should have a function similar to remove_field, possibly name remove_fields_except()

kroepke commented 8 years ago

See https://github.com/Graylog2/graylog2-server/issues/2118

joschi commented 8 years ago

How about retain_fields() (similar to the nomenclature in CharMatcher)?

xtruthx commented 7 years ago

This day i also run into the challenge to remove multiple fields. But until now i am not in the position to solve this i a smart way.