With the advent of Cloudflare’s new Enterprise Log Share (ELS) REST API, it is now easy to download and inspect a zone’s access logs by a single RayID (Cloudflare’s fancy term for a request ID), a defined time period, or from the last RayID downloaded. In our case, we ship all of our other logs to Sumo Logic so everyone can analyze and parse them in any way imaginable!

Unfortunately, there seems to be no cut-and-dry way to integrate the two. …

Building Your First CLI Tool in Go

The help output from docker-machine, a command-line tool written in Go!

As a dev/ops engineer, roughly eighty-percent of my time is spent deep within a bowels of various flavors of a Unix shell, calling up a plethora of command-line tools over the course of the day: docker, brew, ip6calc, hub, otto…and on and on. Before I discovered Go, my devops tooling was written in mostly Ruby, requiring it’s very own runtime environment! This meant writing/maintaining Chef recipes, Ansible playbooks, or even plain ol’ Bash build scripts (in extreme cases) to install Ruby on a server to even use these tools!

However… I soon discovered how simple it was to write command-line…

It was just about ten years ago that the initial commit of the iconic Ruby on Rails app framework was published. It almost immediately began sending developers like me into somewhat of a frenzy.

I began to digest and understand Ruby (and Rails) and realized — hey! — this was the first time any language just made sense right out of the box. The code read like a developer’s love poem. Concepts previously foreign to me such as “model-view-controller” seemed to suddenly click. No longer was I struggling to understand syntax as I did with PHP or Perl. I was…

Joshua Delsman

Ten-year Ruby on Rails vet, devops extraordinaire, & Golang guru-in-training

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store