graylog-plugin-pipeline-processor
graylog-plugin-pipeline-processor copied to clipboard
Whitelist for fields
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()
See https://github.com/Graylog2/graylog2-server/issues/2118
How about retain_fields()
(similar to the nomenclature in CharMatcher
)?
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.