by shigemk2

当面は技術的なことしか書かない

fluentd config

なんとなくほい。公式見たほうがいいね。

<source>
  @type tail
  path /var/log/httpd-access.log
  pos_file /var/log/td-agent/httpd-access.log.pos
  tag apache.access
  format apache2
</source>

docs.fluentd.org

docs.fluentd.org