Sha256: d20aae89e38c91455e507fdef35e16e4064aafa57516bfaf5787bbbd18fea126

Contents?: true

Size: 262 Bytes

Versions: 21

Compression:

Stored size: 262 Bytes

Contents

<%= preamble %>

require "fluent/plugin/parser"

module Fluent
  module Plugin
    class <%= class_name %> < Fluent::Plugin::Parser
      Fluent::Plugin.register_parser("<%= name %>", self)
    end

    def parse(text)
      yield time, record
    end
  end
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
fluentd-0.14.23.rc1 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.22 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.22.rc2 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-hubspot-0.14.14.2 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-hubspot-0.14.14.1 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.22.rc1 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.21 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.20 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.20.rc1 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.19 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.18 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.17-x86-mingw32 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.17-x64-mingw32 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.17 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.16 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.15 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.14 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.14.pre.1 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.13-x86-mingw32 templates/new_gem/lib/fluent/plugin/parser.rb.erb
fluentd-0.14.13-x64-mingw32 templates/new_gem/lib/fluent/plugin/parser.rb.erb