mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Add observation that intervals should be a multiple of 5s
This commit is contained in:
parent
8724563699
commit
c211a47314
1 changed files with 2 additions and 1 deletions
|
@ -118,12 +118,13 @@ class LogStash::Filters::Metrics < LogStash::Filters::Base
|
|||
# }
|
||||
config :ignore_older_than, :validate => :number, :default => 0
|
||||
|
||||
# The flush interval, when the metrics event is created
|
||||
# The flush interval, when the metrics event is created. Must be a multiple of 5s.
|
||||
config :flush_interval, :validate => :number, :default => 5
|
||||
|
||||
# The clear interval, when all counter are reset.
|
||||
#
|
||||
# If set to -1, the default value, the metrics will never be cleared.
|
||||
# Otherwise, should be a multiple of 5s.
|
||||
config :clear_interval, :validate => :number, :default => -1
|
||||
|
||||
def register
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue