Skip to content

Instantly share code, notes, and snippets.

@kylefritz
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save kylefritz/e12c8d19a7e87f55ec0e to your computer and use it in GitHub Desktop.

Select an option

Save kylefritz/e12c8d19a7e87f55ec0e to your computer and use it in GitHub Desktop.
parse logentires files for oink
# http://stedolan.github.io/jq/
cat Heroku-Syslog_2015-02-27_232755_2015-02-28_002755.json | jq -r '.[]|.m|tostring' | cut -c 59- > oink.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment