Module: Fluent::Compat::CompatOutputUtils

Defined in:
lib/fluent/compat/output.rb

Class Method Summary collapse

Class Method Details

.buffer_section(conf) ⇒ Object



43
44
45
# File 'lib/fluent/compat/output.rb', line 43

def self.buffer_section(conf)
  conf.elements(name: 'buffer').first
end

.secondary_section(conf) ⇒ Object



47
48
49
# File 'lib/fluent/compat/output.rb', line 47

def self.secondary_section(conf)
  conf.elements(name: 'secondary').first
end