While tailing the logs for a Rails app running on Heroku, I noticed some funky entries which showed up. While these frightened me at first, some fine Herokoid data engineers assured me that my PostgreSQL database hadn't suffered trauma but was showing off the Heroku Postgres metrics logs feature.
To aid in the digestion of this neato data, I've taken the liberty of creating a Ruby parser using the Parslet gem which can convert a line of log output to an AST suitable for export to JSON.
Right now I got a little cute with parsing the timestamp but other than that, I have a real interest in getting feedback for this. Comments and suggestions welcome.