{"id":26164739,"url":"https://github.com/optum/kong-error-log","last_synced_at":"2025-04-14T15:22:09.877Z","repository":{"id":48235751,"uuid":"163255957","full_name":"Optum/kong-error-log","owner":"Optum","description":"Expose NGINX error logs for Kong lua plugin consumption","archived":false,"fork":false,"pushed_at":"2024-05-23T18:25:15.000Z","size":494,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-14T15:22:04.769Z","etag":null,"topics":["api-gateway","kong","optum"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Optum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-27T06:25:53.000Z","updated_at":"2024-12-23T06:19:00.000Z","dependencies_parsed_at":"2025-03-12T09:15:37.440Z","dependency_job_id":null,"html_url":"https://github.com/Optum/kong-error-log","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Fkong-error-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Fkong-error-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Fkong-error-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Optum%2Fkong-error-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Optum","download_url":"https://codeload.github.com/Optum/kong-error-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904626,"owners_count":21180836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-gateway","kong","optum"],"created_at":"2025-03-11T15:40:03.644Z","updated_at":"2025-04-14T15:22:09.852Z","avatar_url":"https://github.com/Optum.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kong Error Log Plugin\n## Overview\n  This plugin will expose the nginx webserver error logs to a field \"kong.ctx.shared.errmsg\" that other Kong plugins can consume.\n  \n  Our use case was simple, we wanted to log the L4 errors NGINX was throwing around problems proxying to backend API services. Hence the observable defaults in our plugin schema that target and trim upstream related NGINX errors.\n   \n  To leverage this plugin, you will need to define a shm in your nginx conf:\n  ```lua_capture_error_log 100k;``` \n  \n  Example Error Log Highlighted:\n\n  ![Error Sample](https://github.com/Optum/kong-error-log/blob/master/NginxUpstreamErrorMsg.png)\n  \n## Supported Kong Releases\nKong \u003e= 1.x\n\n## Installation\nRecommended:\n```\n$ luarocks install kong-error-log\n```\nOther:\n```\n$ git clone https://github.com/Optum/kong-error-log.git /path/to/kong/plugins/kong-error-log\n$ cd /path/to/kong/plugins/kong-error-log\n$ luarocks make *.rockspec\n```\n## Maintainers\n[jeremyjpj0916](https://github.com/jeremyjpj0916)  \n[rsbrisci](https://github.com/rsbrisci)  \n\nFeel free to open issues, or refer to our [Contribution Guidelines](https://github.com/Optum/kong-error-log/blob/master/CONTRIBUTING.md) if you have any questions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Fkong-error-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foptum%2Fkong-error-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foptum%2Fkong-error-log/lists"}