filter api log