Fluentular

a Fluentd regular expression editor

Configuration

Copy and paste to fluent.conf or td-agent.conf

<source>
  type tail
  path /var/log/foo/bar.log
  pos_file /var/log/td-agent/foo-bar.log.pos
  tag foo.bar
  format /^(?<time>[^\]]*) (?<level>[A-Z]{4}) (?<message>.*)$/
  time_format %Y-%m-%d %H:%M:%S,%L
</source>

Data Inspector

Attributes

Key Value
time 2007/09/08 14:43:22 +0000

Records

Key Value
level INFO
message RPC interface 'supervisor' initialized