<%= preamble %>

require "fluent/plugin/parser"

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

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