Class: Fluent::Plugin::LogfmtParser
- Inherits:
-
Parser
- Object
- Parser
- Fluent::Plugin::LogfmtParser
- Defined in:
- lib/fluent/plugin/parser_logfmt.rb
Instance Method Summary collapse
Instance Method Details
#parse(text) {|time, record| ... } ⇒ Object
27 28 29 30 31 |
# File 'lib/fluent/plugin/parser_logfmt.rb', line 27 def parse(text) r = Logfmt.parse(text) time, record = convert_values(parse_time(r), r) yield time, record end |