def filter_data(self, data, values=None, args=None):
        """Return entries without specified protocol (single log)"""
        if args:
            if not args.rprotocol:
                return data
        if not values: values = args.rprotocol
        newdata = {}
        if 'parser' in data.keys():
            newdata['parser'] = data['parser']
            newdata['source_path'] = data['source_path']
            newdata['source_file'] = data['source_file']
            newdata['source_file_mtime'] = data['source_file_mtime']
            newdata['source_file_year'] = data['source_file_year']
        newdata['entries'] = []

        for entry in data['entries']:
            if 'protocol' in entry.keys():
                if entry['protocol'] not in values:
                    newdata['entries'].append(entry)
            else:
                newdata['entries'].append(entry)

        return newdata
Return entries without specified protocol (single log)