Closed alexpts closed 5 years ago
@MerlinDMC Can you check it?
I think convert to int remove microseconds here:
time = record.delete('timestamp').to_i if record.key?('timestamp')
**to_i**
@griff Can you check it?
@alexpts I just finished looking into this, and got it working ( Properly parsing subsecond time ) with the following change:
- time = record.delete('timestamp').to_i if record.key?('timestamp')
+ time = Fluent::EventTime.new(record.delete('timestamp').to_f ) if record.key?('timestamp')
I will work on creating a branch for this.
@CarlGill thanks! I will wait new version plugin.
@MerlinDMC Hi! Can you to publish new version with fix this problem?
v0.3.1 has been pushed to rubygems.org
Docs: http://docs.graylog.org/en/2.4/pages/gelf.html
Send data:
Fluend std out
Plugin remove microsecond and set 000000.