Class: FluentExt::TextParser::LabeledTSVParser
- Inherits:
-
GenericParser
- Object
- GenericParser
- FluentExt::TextParser::LabeledTSVParser
- Defined in:
- lib/fluent/plugin/fixed_parser.rb
Instance Method Summary collapse
Methods inherited from GenericParser
Instance Method Details
#call(text) ⇒ Object
98 99 100 101 |
# File 'lib/fluent/plugin/fixed_parser.rb', line 98 def call(text) record = Hash[text.split("\t").map{|p| p.split(":", 2)}] parse_time(record) end |