Syslog
FlowG is also a Syslog Server. But it is a single
endpoint. As such, the logs received by the Syslog server are routed to every
pipeline via the SYSLOG entrypoint.
Both RFC 3164 and RFC 5424 formats are supported.
NB: For more inforation about Syslog priorities, facilities and severities, please refer to this page.
RFC 3164 format
logger -n localhost -P 5514 -d -t myapp --rfc3164 "hello world"
⇒
{
"timestamp": "...",
"fields": {
"timestamp": "...",
"client": "...",
"hostname": "...",
"tls_peer": "...",
"tag": "myapp",
"content": "hello world",
"priority": "13",
"facility": "1",
"severity": "6"
}
}
RFC 5424 format
logger -n localhost -P 5514 -d -t myapp --rfc5424 "hello world"
⇒
{
"timestamp": "...",
"fields": {
"timestamp": "...",
"client": "...",
"hostname": "...",
"tls_peer": "...",
"app_name": "myapp",
"message": "hello world",
"priority": "13",
"facility": "1",
"severity": "6",
"version": "1",
"msg_id": "",
"proc_id": "",
"structured_data": "[key key=\"value\"]",
}
}