Skip to content

Instantly share code, notes, and snippets.

@rcoh
Created July 20, 2012 22:41
Show Gist options
  • Save rcoh/3153706 to your computer and use it in GitHub Desktop.
Save rcoh/3153706 to your computer and use it in GitHub Desktop.
logs.view.map(_.takeWhile(_ != ' ')).grouped(8).count(_.contains("ERROR"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment