Method: Fluent::Plugin::Output#get_placeholders_keys

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

#get_placeholders_keys(str) ⇒ Object



793
794
795
# File 'lib/fluent/plugin/output.rb', line 793

def get_placeholders_keys(str)
  str.scan(CHUNK_KEY_PLACEHOLDER_PATTERN).map(&:first).reject{|s| (s == "tag") || (s == 'chunk_id') }.sort
end