Graylog2 / documentation

Archived Graylog documentation. See https://docs.graylog.org/ for the new documentation.
http://archivedocs.graylog.org/
Other
146 stars 246 forks source link

Type conversion for message field values #1160

Closed jrunu closed 3 years ago

jrunu commented 3 years ago

Explicit mention that message field values from a message should always be casted before used. This can be inferred by all the rule examples in the documentation, but is never explicitely stated.

While there is a case with strings, where it works without an explicit cast, this is not considered valid according to an exchange with the Graylog Support (#446984520). Hence we're proposing to add the following note as clarification/best practice.

Notes for Reviewers