読者です 読者をやめる 読者になる 読者になる

Fluentd mongodb

/etc/td-agent/td-agent.conf


  type tail
  path /var/log/httpd/access_log
  pos_file /var/log/td-agent/apache2.access_log.pos
  format apache2
  tag mongo.apache.access


    type mongo
    database apache
    collection access
    host localhost
    port 27017