Closed tebriel closed 9 years ago
@tebriel - the solution that you have suggested is good but the to_epoch
method is a coersion and therefore it should handle as many probable datatypes as it can.
I am combining your and @colinsurprenant 's PR into one.
Awesome, thanks!
As PR #5 is now merged - I am closing this one
event.timestamp
is of timeLogstash::Timestamp
. I'm not sure how you could ever get a non-::Timestamp
as your value inevent.timestamp
, but maybe there's something I don't understand. It definitely fails theis_a(Time)
though.