HealthSamurai/holisticlog

Name: holisticlog

Owner: Health Samurai Team

Description: null

Created: 2017-03-29 07:43:44.0

Updated: 2017-03-29 07:43:44.0

Pushed: 2017-04-03 15:03:06.0

Homepage: null

Size: 0

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Standard for strucutred logs
Problem
Solution

niquola notes:

Problem
  • combinatorial explosure in logging & monitoring

  • microservices - tracing

  • metrics, errors & logs are related

    Solution

    Create standard format for structured logs

    Key Points
  • JSON storages frendly - no name clashes

  • OpenTracing.io frendly - spans

  • syslog fields

  • elk fields

  • distributed system (node, application, module, id, geoIp, etc)

  • metrics frendly (prometheus, collectd)

  • JSON schemata - published into one repo

  • application logging libraries

  • file system as buffer

  • go library to simplify aggregation & routing

Classical log levels
log4j

https://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/PatternLayout.html

Log back

https://logback.qos.ch/manual/layouts.html

ELK
Network
Syslog

https://en.wikipedia.org/wiki/Syslog


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.