def alarms_cmd_parse_filters(filters_args):
    """
    Parse the 'msiem alarms --filters' argument into tuples.  

    Arguments:

    - filters_args: list of list of string like '<field>=<regex>'

    Returns: List of tuples usable in msiempy AlarmManager filters.  
    """
    filters = []
    for item in [item for sublist in filters_args for item in sublist if sublist and item]:
        if len(item.split('=',1))==2:
            filters.append(( item.split('=',1)[0], item.split('=',1)[1] ))
        else:
            raise ValueError("Using 'msiem alarms', filters must be like '<field>=<regex>'.")
    return filters