What is Structured Logging

Published:
Translations:no translations yet

Logs are hard to get right. Typically, people want do debug issues using them. Debugging is messy so logs become a mess.

Structured logging allows to clean up the mess a little bit. It even allows to draw a graph of an event type from logs in Kibana and similar instruments with ease.

Structured logging is even harder to get right than regular logs. But if you look at ways you can perceive a log, it becomes clear how a good log should look like.

Check out Guide to structured logging in Go for practical application of those insights.