cloudfoundry/scalable-syslog

Name: scalable-syslog

Owner: Cloud Foundry

Description: null

Created: 2017-02-06 22:14:25.0

Updated: 2018-04-25 20:27:50.0

Pushed: 2018-04-25 20:27:48.0

Homepage: null

Size: 5043

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Scalable Syslog

CI Badge

The scalable syslog is a consumer of Loggregator which transports application logs to syslog drains. It writes messages according to RFC 5424 and RFC 6587. Here is an example of how it writes messages:

+ Protocol Version
|
|  + Timestamp                   + org_name.space_name.app_name                                       + ProcessID (Source)
|  |                             |                                                                    |
v  v                             v                                                                    v
1 2017-10-05T15:00:55.432180389Z cf-lamb.development.dripspinner 3e0b1150-14b8-4a20-a1c5-d9e296f198ae [APP/PROC/WEB] - - msg 1 LogSpinner Log Message
                                                                 ^                                                       ^
                                                                 |                                                       |
riority                                                          + AppID                                                 + Log Message

If you see a decimal prefix followed by a space in your message, this is the length prefixed to the message. This is used to frame syslog messages when transmitting over a streaming protocol.


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.