path /var/log/httpd-access.log #...or where you placed your Apache access log
pos_file /var/log/td-agent/httpd-access.log.pos # This is where you record file position
tag apache.access #fluentd tag!
format apache2 # Do you have a custom format? You can write your own regex.
database <db name> #(required)
collection <collection name> #(optional; default="untagged")
host <hostname> #(optional; default="localhost")
port <port> #(optional; default=27017)