class Fluent::Plugin::InHttpParser
Public Instance Methods
configure(conf)
click to toggle source
Calls superclass method
Fluent::Plugin::Parser#configure
# File lib/fluent/plugin/in_http.rb, line 33 def configure(conf) super # if no time parser related parameters, use in_http's time convert rule @time_parser = if conf.has_key?('time_type') || conf.has_key?('time_format') time_parser_create else nil end end
get_time_parser()
click to toggle source
# File lib/fluent/plugin/in_http.rb, line 49 def get_time_parser @time_parser end
parse(text) { |nil, nil| ... }
click to toggle source
# File lib/fluent/plugin/in_http.rb, line 44 def parse(text) # this plugin is dummy implementation not to raise error yield nil, nil end