def getMapiPath(field):
    """
    Remove the paramaters from a log records path field.

    :param field:   the mentioned log record's namespace field
    :return:        the path w/o parameters
    """
    return field.split('?')[0]
