Class: Fluent::TextFormatter::LogstashFormatter

Inherits:
JSONishFormatter
  • Object
show all
Defined in:
lib/fluent/plugin/formatter_logstash.rb

Instance Method Summary collapse

Methods inherited from JSONishFormatter

#format, #format_without_nl, #update_entry

Instance Method Details

#configure(conf) ⇒ Object



8
9
10
11
# File 'lib/fluent/plugin/formatter_logstash.rb', line 8

def configure(conf)
  super(conf)
  @add_time = { 'key' => '@timestamp', 'format' => 'iso8601(3)' }
end