Merging VCOMBINED and VCOMBINED_PORT into one
Author: vrublegCreated Sep 28, 2026Updated Sep 29, 2026
Labelslog/date/time format
Following up on #2973
Maybe it would be better to keep a single VCOMBINED format and make the port part optional. It could consume the entire first field up to the first whitespace character, then detect and strip the port if present.
This should not conflict with IPv6, since an IPv6 address with a port is unambiguous due to the [] around the address.
As for the log format string, to avoid introducing new conditional specifiers, %v:%p could simply be documented as treating the port as optional. I assume this is a common enough combination to justify some special handling here.
That would keep this VCOMBINED compatible with the old and new behaviors.
Source: allinurl/goaccess