Logstash plugin 0.5 fraction on number field

With logstash google pub/sub output plugin..

How do you set :

delay_threshold_secs => "0.5"

?

If I set to 1.x or 2.x, it'll work, but for 0.x it'll never work, so I guess it's just a matter of syntax error..

The pubsub output calls the .ofSeconds method, which sets the fractional part of the second to zero. 2.x is 2 etc.

As far as I know, logstash does not support any Java versions that would require a JSR-310 backport, so the output could be updated not to require it. But fixing that would not fix this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.