private boolean filterAgentByCluster(String targetRegion, String targetSubregion, AgentInfo agentInfo) {
		if (isEmpty(targetRegion)) {
			return true;
		}

		String agentRegion = agentInfo.getRegion();
		if (!targetRegion.equals(agentRegion)) {
			return false;
		}

		String agentSubregion = agentInfo.getSubregion();
		if (isEmpty(targetSubregion)) {
			return isEmpty(agentSubregion);
		}

		return StringUtils.equals(targetSubregion, agentSubregion);
	}
Filter agent list by referring to cluster
ngrinder-controller/src/main/java/org/ngrinder/agent/controller/AgentManagerApiController.java