mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
6799918149
commit
cf533c7c11
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ module LogStash::Config::Mixin
|
|||
bytes = Integer(value.first) rescue nil
|
||||
result = bytes || Filesize.from(value.first).to_i
|
||||
rescue ArgumentError
|
||||
return false, "Unparseable filesize: #{value.first}. possible units (KiB, MiB, ...) e.g. '10 KiB'. doc reference: http://www.elasticsearch.org/guide/en/logstash/current/_logstash_config_language.html#bytes"
|
||||
return false, "Unparseable filesize: #{value.first}. possible units (KiB, MiB, ...) e.g. '10 KiB'. doc reference: http://www.elastic.co/guide/en/logstash/current/configuration.html#bytes"
|
||||
end
|
||||
else
|
||||
return false, "Unknown validator symbol #{validator}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue