Graylog2 / graylog-plugin-pipeline-processor

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

Add comparison functions for all supported types #237

Closed joschi closed 6 years ago

joschi commented 6 years ago

The comparison functions implemented in this change set enable users to run rules depending on the type of a variable (e. g. a message field).

Example:

rule "convert-custom-field-to-string"
when
    is_number($message.custom_field)
then
    set_field("custom_field", to_string($message.custom_field));
end