yeah, that is the mapped issue. you may find out one of the following two ways for your needs:
1, make use of the DNS system instead of the ip address in remap.config:
and setup your dns to resolve origin.test.com
to your ip address, then you may use the ServerHosts directives in logs_xml.config file.
2, write your own LogFilters instead of ‘ServerHosts’ directive.
using the ‘cquuh’ to get the origin client query host.
btw, ServerHosts is a quick LogFilters on the mapped hostname.
My remap.config is below.