Sha256: befe125eadd073bd3b5c665347063acc9e57e0670720cbdc9268259383cd7265
Contents?: true
Size: 861 Bytes
Versions: 20
Compression:
Stored size: 861 Bytes
Contents
class Fluentd module Setting class InForward include ActiveModel::Model include Common KEYS = [ :bind, :port, :linger_timeout, :chunk_size_limit, :chunk_size_warn_limit, :log_level ].freeze attr_accessor(*KEYS) validates :bind, presence: true validates :port, presence: true def self.initial_params { bind: "0.0.0.0", port: 24224, linger_timeout: 0, chunk_size_limit: nil, chunk_size_warn_limit: nil, log_level: "info", } end def common_options [ :bind, :port ] end def advanced_options [ :linger_timeout, :chunk_size_limit, :chunk_size_warn_limit, :log_level ] end def plugin_name "forward" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems