This is an implementation of the RFC5424(syslog) in the OpenResty
Lua Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixtures
lib/resty
t
.gitattributes
.gitignore
.travis.yml
LICENSE
Makefile
README.md
dist.ini

README.md

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.