Skip to content
Snippets Groups Projects
09-monasca.conf.j2 387 B
Newer Older
<source>
  @type tail
  path /var/log/kolla/monasca/agent*.log
Radosław Piliszek's avatar
Radosław Piliszek committed
  pos_file /var/run/td-agent/monasca-agent.pos
  tag kolla.*
  format multiline
  format_firstline /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} \S+ \| \S+ \| \S+ \| .*$/
  format1 /^(?<Timestamp>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} \S+) \| (?<log_level>\S+) \| (?<programname>\S+) \| (?<Payload>.*)$/
  time_key Timestamp
</source>