{"id":13416084,"url":"https://github.com/gocardless/logjam","last_synced_at":"2025-03-14T23:31:18.026Z","repository":{"id":22540322,"uuid":"25881148","full_name":"gocardless/logjam","owner":"gocardless","description":"a log shipping tool","archived":true,"fork":false,"pushed_at":"2015-10-07T19:28:24.000Z","size":157,"stargazers_count":135,"open_issues_count":0,"forks_count":8,"subscribers_count":107,"default_branch":"master","last_synced_at":"2024-07-31T21:55:15.330Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gocardless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-28T17:23:57.000Z","updated_at":"2024-07-04T01:28:14.000Z","dependencies_parsed_at":"2022-08-20T18:50:26.373Z","dependency_job_id":null,"html_url":"https://github.com/gocardless/logjam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Flogjam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Flogjam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Flogjam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Flogjam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocardless","download_url":"https://codeload.github.com/gocardless/logjam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243663482,"owners_count":20327299,"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-07-30T21:00:54.143Z","updated_at":"2025-03-14T23:31:17.175Z","avatar_url":"https://github.com/gocardless.png","language":"Go","readme":"Logjam\n------\n\nLogjam is a log forwarder designed to listen on a local port, receive log entries over UDP, and forward\nthese messages on to a log collection server (such as logstash).\n\nThe motivation for logjam was a move to containerising our applications, and a need to get logs from these\napplications out of the containers. We configure logjam to listen on the `docker0` (172.16.42.1) interface which is\naccessible to applications running within docker.\n\nLogjam supports collecting logs using the following methods:\n\n - UDP Socket\n - File\n\nLogjam will pipe all entries as a JSON object terminated with \"\\n\" to a remote server.\n\nUsage\n-----\n\n### Config File\n\n    {\n      \"bind\": \"127.0.0.1\",         // interface on host to bind (0.0.0.0 for all)\n      \"port\": 1470,                // port to listen on locally\n      \"server\": \"10.1.1.10:1470\",  // logstash server to forward to\n      \"buffer\": \"/tmp/buffer.log\", // file to use for on-disk buffer\n      \"buffer_size\": 1024,         // entries to keep in memory buffer\n      \"truncate\": 3600             // clean out disk buffer every x seconds\n    }\n\n### Execution\n\n    $ logjam --config config.json\n\nPipeline\n--------\n\n![logjam pipeline](https://i.imgur.com/4e5sowg.png)\n\n","funding_links":[],"categories":["Container Operations","Go","Logging"],"sub_categories":["Monitoring"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Flogjam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocardless%2Flogjam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Flogjam/lists"}