logstash-plugins / logstash-filter-throttle

Apache License 2.0
10 stars 14 forks source link

Throttle 'period' setting should be a number, not string. #2

Open jordansissel opened 9 years ago

jordansissel commented 9 years ago

(This issue was originally filed by @jordansissel at https://github.com/elastic/logstash/issues/1898)


Currently the period setting is :validate => :string. It should probably be :number.

untergeek commented 8 years ago

Old issue followup: This is low-hanging fruit, here.

jordansissel commented 8 years ago

we could add a :validate => :duration or something to allow specifying something like '3m' for 3 minutes. THoughts?