<source>
  @type systemd
  @id systemd-input
  @label @INGRESS
  path "#{if (val = ENV.fetch('JOURNAL_SOURCE','')) && (val.length > 0); val; else '/run/log/journal'; end}"
  pos_file "#{ENV['JOURNAL_POS_FILE'] || '/var/log/journal.pos'}"
  filters "#{ENV['JOURNAL_FILTERS_JSON'] || '[]'}"
  tag journal
  read_from_head "#{if (val = ENV.fetch('JOURNAL_READ_FROM_HEAD','')) && (val.length > 0); val; else 'false'; end}"
</source>
