Sha256: 7178259495298594a84f870cac61ef59c379e8a8849c6527715507a998aea24f

Contents?: true

Size: 614 Bytes

Versions: 4

Compression:

Stored size: 614 Bytes

Contents

class Fluentd
  module Setting
    class OutElasticsearch
      include Common

      KEYS = [
        :match,
        :host, :port, :index_name, :type_name,
        :logstash_format, :logstash_prefix, :logstash_dateformat, :utc_index,
        :hosts, :request_timeout, :include_tag_key
      ].freeze

      attr_accessor(*KEYS)

      booleans :logstash_format, :utc_index, :include_tag_key

      validates :match, presence: true
      validates :host, presence: true
      validates :port, presence: true
      validates :index_name, presence: true
      validates :type_name, presence: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fluentd-ui-0.3.0 app/models/fluentd/setting/out_elasticsearch.rb
fluentd-ui-0.2.0 app/models/fluentd/setting/out_elasticsearch.rb
fluentd-ui-0.1.4 app/models/fluentd/setting/out_elasticsearch.rb
fluentd-ui-0.1.3 app/models/fluentd/setting/out_elasticsearch.rb