Method: Fluent::Plugin::InHttpParser#configure
- Defined in:
- lib/fluent/plugin/in_http.rb
#configure(conf) ⇒ Object
33 34 35 36 37 38 39 40 41 42 |
# 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 |