In my /etc/fluent/fluent.conf
@type tail format apache2 path /var/log/apache2/other_vhosts_access.log tag apache2.access <
It seems that tail plugin does not support the format for apache log format "vhost_combined" but "combined". How about changing the apache configuration file as follows:
/etc/apache2/conf-available/other-vhosts-access-log.conf Before:CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined (change vhost_combined to combined) After:CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log combined
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log vhost_combined
CustomLog ${APACHE_LOG_DIR}/other_vhosts_access.log combined