diff --git a/lib/logstash/filters/math_calculation_elements.rb b/lib/logstash/filters/math_calculation_elements.rb index a945bf5..fa84f16 100644 --- a/lib/logstash/filters/math_calculation_elements.rb +++ b/lib/logstash/filters/math_calculation_elements.rb @@ -95,7 +95,7 @@ def get(event_register_context) when LogStash::Timestamp, Time value.to_f else - logger.warn("field value is not numeric or time", "field" => @field, "value" => value, "event" => event_register_context.event.to_hash) + logger.warn("field value is not numeric or time", "field" => @field, "value" => value, "class" => @field.class, "event" => event_register_context.event.to_hash) nil end end