extract_file_root

in lib/logstash/outputs/kusto.rb [271:275]


  def extract_file_root
    parts = File.expand_path(path).split(File::SEPARATOR)
    parts.take_while { |part| part !~ FIELD_REF }.join(File::SEPARATOR)
  end