Skip to content

ntindall/logfmt2json

Repository files navigation

logfmt2json

GoDoc

reads logfmt log messages from stdin and prints json to stdout

Installation

  go get -u github.com/ntindall/logfmt2json

Usage

echo "foo=bar baz=bak" | logfmt2json
{"baz":"bak","foo":"bar"}