logstash/logstash — pull request #129 by philcowans (2012-03-23 16:36:04+00:00)
Title: Grep filter for numerical fields

Hi,

I've been running into problems when trying to filter on numerical event fields, such as severity and facility for syslog events. This causes an exception when the regexp is applied to a Fixnum.

I've attached a simple patch to convert numerical fields to strings before matching - not sure if this is useful or not.

Cheers,
Phil