refine the ingest log