detailyang / lua-resty-rfc5424

This is an implementation of the RFC5424(syslog) in the OpenResty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Name

lua-resty-rfc5424

lua-resty-rfc5424

This is an implementation of the RFC5424 in the OpenResty

Table of Contents

Status

Build Status

Production Ready

Usage

It's recommended to use lua-resty-logger-socket and rsyslog together:)

Production Architecture can be as the following:

architecture

API

encode

syntax: rfc5424.encode(facility, severity, hostname, pid, appname, msg)

This will encode the msg to the rfc5424 format:

Contributing

To contribute to lua-resty-rfc5424, clone this repo locally and commit your code on a separate branch.

PS: PR Welcome πŸš€ πŸš€ πŸš€ πŸš€

Author

GitHub @detailyang

License

lua-resty-rfc5424 is licensed under the MIT license.

About

This is an implementation of the RFC5424(syslog) in the OpenResty

License:MIT License


Languages

Language:Lua 95.2%Language:Makefile 4.8%