Log analysis as iterators