Spark log processor - an example