Use a third Map which does an OR or an AND on other map variables in to a new single variable for use.
map $http_user_agent $logv1 {
...
}
map $http_user_agent $logv2 {
...
}
map $http_user_agent $logv3 {
$logv1 0;
$logv2 1;
}
map $http_user_agent $logv1 {
...
}
map $http_user_agent $logv2 {
...
}
map $http_user_agent $logv3 {
$logv1 0;
$logv2 1;
}