BRIM

Exploring Large JSON Objects

Author Phil Rzewski

Many of us are familiar with how JSON objects can become big and messy. I was recently reminded of this when I dug up an old Grafana dashboard config and wanted to recall the names of some Go memory metrics I’d plotted in the past.

As an alternative to crude text searches with grep and the like, instead I used Zui Insiders to explore the hierarchical structure, then used the Zed language to find and extract the metric names. Click the video below to see how it’s done.