how is your log configured right now?
CustomLog ${APACHE_LOG_DIR}/myvirtualhost/access.log
For example, if logs from a virtual host are organized under ${APACHE_LOG_DIR}/myvirtualhost, you can add the following line to your input.conf
[monitor:///var/log/apache/myvirtualhost]
host_segment = 4
That way, "myvirtualhost" will be the host name for all log files that live under myvirtualhost.
Sorry If i misunderstood your question.
... View more