Open ghost opened 5 years ago
In /lib/logstash/codecs/netflow.rb the calculation of absolute timestamps for "first_switched" and "last_switched" is incorrect due to syntax error:
Ruby doesn't support --/++ operators. Unfortunately jruby doesn't even show an error; it just ignores the line.
Solution: Line 141 replace seconds-- by seconds -= 1
In /lib/logstash/codecs/netflow.rb the calculation of absolute timestamps for "first_switched" and "last_switched" is incorrect due to syntax error:
Ruby doesn't support --/++ operators. Unfortunately jruby doesn't even show an error; it just ignores the line.
Solution: Line 141 replace seconds-- by seconds -= 1