jaggr
JSON Aggregation CLI
...So here we give a stream of real-time requests to jaggr standard input and request the aggregation of the code and latency fields. For the code, we request a histogram with some known error codes with an "other" bucket defined by *. The latency field is aggregated using minimum, maximum, and mean. In addition, @count adds an extra field indicating the total number of lines aggregated. The = sign can be used on any field to rename it, here we use it to say that the count is an rps as we are using the default aggregation time of 1 second.