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>(?<=\[).+?(?=\])) (?<method>[^ ]*)/
  time_format %Y-%m-%d %H:%M:%S
</source>

Data Inspector

Attributes

Key Value

Records

Key Value