JSON All the Logs!, (Mon, Aug 8th)

This post was originally published on this site

My recent obsession has been creating all of my logs in JSON format. The reasons for that are pretty simple: I like to log with Elasticsearch, so creating JSON formatted logs makes working with Elasticsearch easier. Command line tools like 'jq' make parsing JSON logs on the command line simpler than "good old" standard Syslog format and a string of 'cut,' 'sed,' and 'awk' commands. 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.