bisakhmondal opened a new issue #6112: URL: https://github.com/apache/apisix/issues/6112
### Issue description ## Initial phase: reference : [here](https://www.loggly.com/) A logging plugin that works and does its job : ) Supported Protocol: SYSLOG-UDP ### schema: ```lua local schema = { type = "object", properties = { customer_token = {type = "string"}, severity = { type = "string", default = "INFO", enum = {"DEBUG", "INFO", "NOTICE", "WARNING", "ERR", "CRIT", "ALERT", "EMEGR"}, description = "base severity log level", }, timeout = {type = "integer", minimum = 1, default= 5000}, include_req_body = {type = "boolean", default = false}, tag = { type = "array", minItems = 1, items = { type = "string" } }, prefer_name = {type = "boolean", default = true} }, required = {"customer_token"} } ``` ### Metadata schema ```lua local defaults = { host = "logs-01.loggly.com", port = 514, protocol = "syslog" } local metadata_schema = { type = "object", properties = { host = { type = "string", default = defaults.host }, port = { type = "integer", default = defaults.port }, protocol = { type = "string", default = defaults.protocol, -- more methods coming soon enum = {"syslog"} } } } ``` ## Phase-2 - Supported Protocol: HTTP[S] - Support Changing Log Severity level based on HTTP response code. This issue is for the tracking purpose of the plugin development. If you have any useful insight, feel free to let us know : ) ### Environment NA -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
