Sample output every 1k lines.