{"id":34618463,"url":"https://github.com/resurfaceio/logger-ebpf","last_synced_at":"2026-05-26T00:31:36.683Z","repository":{"id":289170929,"uuid":"856414606","full_name":"resurfaceio/logger-ebpf","owner":"resurfaceio","description":"Log API calls with eBPF","archived":false,"fork":false,"pushed_at":"2025-06-10T11:44:46.000Z","size":259,"stargazers_count":2,"open_issues_count":7,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T12:39:19.528Z","etag":null,"topics":["api-logger","ebpf","ebpf-go","https","logger-ebpf","openssl","ssl","tls"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/resurfaceio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2024-09-12T14:37:55.000Z","updated_at":"2025-05-20T16:31:21.000Z","dependencies_parsed_at":"2025-05-19T16:47:13.084Z","dependency_job_id":"e5923a7a-78fd-42f0-bba6-a24f0a6fd308","html_url":"https://github.com/resurfaceio/logger-ebpf","commit_stats":null,"previous_names":["resurfaceio/logger-ebpf"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/resurfaceio/logger-ebpf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resurfaceio%2Flogger-ebpf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resurfaceio%2Flogger-ebpf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resurfaceio%2Flogger-ebpf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resurfaceio%2Flogger-ebpf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/resurfaceio","download_url":"https://codeload.github.com/resurfaceio/logger-ebpf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/resurfaceio%2Flogger-ebpf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33498797,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T14:31:05.219Z","status":"ssl_error","status_checked_at":"2026-05-25T14:31:02.878Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-logger","ebpf","ebpf-go","https","logger-ebpf","openssl","ssl","tls"],"created_at":"2025-12-24T14:56:32.298Z","updated_at":"2026-05-26T00:31:36.656Z","avatar_url":"https://github.com/resurfaceio.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# logger-ebpf\nEasily log **encrypted** API calls to your own \u003ca href=\"https://graylog.org/products/api-security/\"\u003esecurity data lake\u003c/a\u003e.\n\nThis open-source [eBPF](https://ebpf.io/) agent logs API requests and responses to [Graylog API Security](https://graylog.org/products/api-security/)\nfor analysis and storage. This logger captures encrypted API calls without configuring any encryption keys or making any changes to client or server applications. \n\n[![CodeFactor](https://www.codefactor.io/repository/github/resurfaceio/logger-ebpf/badge?s=1edfaf41d674519709d3abb9c1836e84b4c3a20f)](https://www.codefactor.io/repository/github/resurfaceio/logger-ebpf)\n[![Contributing](https://img.shields.io/badge/contributions-welcome-green.svg)](https://github.com/resurfaceio/logger-ebpf/blob/master/CONTRIBUTING.md)\n[![License](https://img.shields.io/github/license/resurfaceio/logger-ebpf?s=1edfaf41d674519709d3abb9c1836e84b4c3a20f)](https://github.com/resurfaceio/logger-ebpf/blob/master/LICENSE)\n\n⚠️ [Graylog API Security](https://graylog.org/products/api-security/) is licensed and installed separately, and runs as a remote service (on Kubernetes) that receives data from this logger.\n\n## Contents\n\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"#system-requirements\"\u003eSystem Requirements\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#current-limitations\"\u003eCurrent Limitations\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#environment-variables\"\u003eEnvironment Variables\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#logging-from-linux-vm-or-physical-machine\"\u003eLogging from Linux VM or Physical Machine\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#logging-from-docker-container\"\u003eLogging from Docker Container\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#logging-from-kubernetes\"\u003eLogging from Kubernetes\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"#privacy\"\u003eProtecting User Privacy\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ca name=\"system-requirements\"\u003e\u003c/a\u003e\n\n## System Requirements\n\n* 64-bit Intel or AMD CPU\n* Linux kernel v5.8 or higher\n* OpenSSL v1.0 or higher\n* Root user or sudo privileges\n* Network access to the Kubernetes cluster where [Graylog API Security](https://graylog.org/products/api-security/) is running\n\n\u003ca name=\"current-limitations\"\u003e\u003c/a\u003e\n\n## Current Limitations\n\n* ⚠️ This is beta software and not ready for production environments\n* ARM64 chipsets are not yet supported\n* API calls made via HTTP are not logged yet (only HTTPS)\n* Only applications using OpenSSL are supported (additional encryption libraries coming soon)\n* HTTP v3, UDP, and streaming protocols are not supported\n\n\u003ca name=\"environment-variables\"\u003e\u003c/a\u003e\n\n## Environment Variables\n\nThese environment variables are required to configure the logger and to control what information is logged.\n\n| Variable Name             | Description                                                                                                                                                                                        |\n|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| USAGE_LOGGERS_EBPF_EXPATH | Path to OpenSSL shared library\u003cbr\u003eUse `ldconfig -p \\| grep ssl` to find                                                                                                                            |\n| USAGE_LOGGERS_RULES       | [Logging rules](https://go2docs.graylog.org/apisecurity-current/logging_rules/logging_rules.htm) used to mask or remove specific details\u003cbr\u003eUse `include debug` to log entire request and response |\n| USAGE_LOGGERS_URL         | [Capture URL](https://go2docs.graylog.org/apisecurity-current/capture_api_calls/capture_api_calls.htm) for Graylog API Security instance\u003cbr\u003eLooks like `https://GL_APISECURITY_HOST/fluke/message` |\n\n\u003ca name=\"logging-from-linux-vm-or-physical-machine\"\u003e\u003c/a\u003e\n\n## Logging from Linux VM or Physical Machine\n\nDownload logger binary:\n```bash\nwget https://github.com/resurfaceio/logger-ebpf/releases/download/v1.1.1/ebpf-logger-amd64 \u0026\u0026 chmod +x ebpf-logger-amd64\n```\n\nRun logger binary, with your value for `GL_APISECURITY_HOST`:\n```bash\nsudo USAGE_LOGGERS_EBPF_EXPATH=\"/lib/x86_64-linux-gnu/libssl.so.3\" USAGE_LOGGERS_RULES=\"include debug\" USAGE_LOGGERS_URL=\"https://GL_APISECURITY_HOST/fluke/message\" ./ebpf-logger-amd64\n```\n\n⚠️ Use `CTRL-C` to stop the logger.\n\n\u003ca name=\"logging-from-docker-container\"\u003e\u003c/a\u003e\n\n## Logging from Docker Container\n\ncoming soon!\n\n\u003ca name=\"logging-from-kubernetes\"\u003e\u003c/a\u003e\n\n## Logging from Kubernetes\n\ncoming soon!\n\n\u003ca name=\"privacy\"\u003e\u003c/a\u003e\n\n## Protecting User Privacy\n\nLoggers always have an active set of [logging rules](https://go2docs.graylog.org/apisecurity-current/logging_rules/logging_rules.htm)\nthat control what data is logged and how sensitive data is masked. All of the examples above apply a predefined set of rules (`include debug`),\nbut logging rules are easily customized to meet your privacy requirements.\n\n---\n\u003csmall\u003e\u0026copy; 2025 \u003ca href=\"https://graylog.org/products/api-security/\"\u003eGraylog, Inc.\u003c/a\u003e\u003c/small\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresurfaceio%2Flogger-ebpf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fresurfaceio%2Flogger-ebpf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fresurfaceio%2Flogger-ebpf/lists"}