{"id":17069599,"url":"https://github.com/pandax381/ngx_http_pipelog_module","last_synced_at":"2025-04-12T19:22:16.161Z","repository":{"id":11066402,"uuid":"13408915","full_name":"pandax381/ngx_http_pipelog_module","owner":"pandax381","description":"An nginx module for send HTTP access log to an external program via pipe","archived":false,"fork":false,"pushed_at":"2023-01-31T05:22:50.000Z","size":110,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T13:38:40.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pandax381.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-08T09:21:59.000Z","updated_at":"2024-02-14T14:09:49.000Z","dependencies_parsed_at":"2023-02-16T16:16:14.815Z","dependency_job_id":null,"html_url":"https://github.com/pandax381/ngx_http_pipelog_module","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandax381%2Fngx_http_pipelog_module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandax381%2Fngx_http_pipelog_module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandax381%2Fngx_http_pipelog_module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandax381%2Fngx_http_pipelog_module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pandax381","download_url":"https://codeload.github.com/pandax381/ngx_http_pipelog_module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618804,"owners_count":21134299,"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":[],"created_at":"2024-10-14T11:27:20.893Z","updated_at":"2025-04-12T19:22:16.111Z","avatar_url":"https://github.com/pandax381.png","language":"C","funding_links":[],"categories":["Logging and observability"],"sub_categories":[],"readme":"# ngx_http_pipelog_module\n\nThis module allows to send HTTP access log to an external program via pipe.\n\n## Installation\n\n***Clone the code***\n    \n    git clone git://github.com/pandax381/ngx_http_pipelog_module.git\n\n***Build nginx with ngx_http_pipelog_module***\n\n    ./configure --add-module=/path/to/ngx_http_pipelog_module\n    make \u0026\u0026 sudo make install\n\nNote: This module has been tested with nginx 1.23.3 and 1.22.1 and 1.14.2\n\n## Directives\n\n***pipelog_format***\n  \n    pipelog_format name [escape=default|json|none] string ...\n\n  * syntax is same as log_format of HttpLogModule.\n  * default value is *combined*.\n\n***pipelog***\n\n    pipelog command [format [nonblocking] [if=condition]];\n \n    pipelog off;\n    \n  * default value is *off*.\n  * command does not need the pipe symbol `|` prefix.\n\n## Example\n\n      pipelog_format main '$remote_addr - $remote_user [$time_local] \"$request\" '\n                        '$status $body_bytes_sent \"$http_referer\" '\n                        '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n      \n      pipelog \"logger -t nginx\" main;\n\n## License\n\n### Original Code (ngx_http_log_module)\n\n```\nCopyright (C) 2002-2009 Igor Sysoev\nCopyright (C) 2009-2013 Sergey A. Osokin\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions\nare met:\n1. Redistributions of source code must retain the above copyright\n   notice, this list of conditions and the following disclaimer.\n2. Redistributions in binary form must reproduce the above copyright\n   notice, this list of conditions and the following disclaimer in the\n   documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\nOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\nHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\nLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\nOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGE.\n```\n\n### Additional Code\n\n```\nCopyright (c) 2013-2022 YAMAMOTO Masaya\nCopyright (c) 2013-2022 KLab Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandax381%2Fngx_http_pipelog_module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandax381%2Fngx_http_pipelog_module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandax381%2Fngx_http_pipelog_module/lists"}