Decide which lines should be filtered out

def _analyze(self):
        """
        Decide which lines should be filtered out
        """
        pids = []

        for ip in self.filter['ips']:
            if ip in self.ips_to_pids:
                for pid in self.ips_to_pids[ip]:
                    pids.append(pid)

        for line in self.parsed_lines:
            if 'processid' in line and line['processid'] in pids:
                self.noisy_logs.append(line)
            else:
                self.quiet_logs.append(line)