{"id":16021361,"url":"https://github.com/cirocosta/oklog-docker-plugin","last_synced_at":"2026-05-13T12:31:52.400Z","repository":{"id":73883869,"uuid":"114419347","full_name":"cirocosta/oklog-docker-plugin","owner":"cirocosta","description":"OKLog forwarder that sends your container logs to OKLog ingestors","archived":false,"fork":false,"pushed_at":"2017-12-17T01:22:13.000Z","size":11306,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T12:41:08.500Z","etag":null,"topics":["containers","docker","logging","oklog","plugin"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/cirocosta.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-15T23:28:57.000Z","updated_at":"2018-02-21T15:28:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"323fddd8-28c3-4157-a963-487c635c0a59","html_url":"https://github.com/cirocosta/oklog-docker-plugin","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.5,"last_synced_commit":"3404122650564d6edec3cab64903a78257e4e44f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirocosta/oklog-docker-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Foklog-docker-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Foklog-docker-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Foklog-docker-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Foklog-docker-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/oklog-docker-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Foklog-docker-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32982565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T11:31:52.688Z","status":"ssl_error","status_checked_at":"2026-05-13T11:31:52.072Z","response_time":115,"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":["containers","docker","logging","oklog","plugin"],"created_at":"2024-10-08T18:03:48.840Z","updated_at":"2026-05-13T12:31:52.387Z","avatar_url":"https://github.com/cirocosta.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eoklog-docker-plugin 📝 \u003c/h1\u003e\n\n\u003ch5 align=\"center\"\u003eForwards your container logs to OKLog ingestors\u003c/h5\u003e\n\n\u003cbr/\u003e\n\n`docker-oklog-driver` is a custom Docker logging plugin that implements the log driver interface and acts as an OKLog forwarder.\n\n### Install\n\n```sh\n# Install the plugin `cirocosta/oklog-docker-plugin`\n# and then make it aliased to `oklog` so that we can\n# make use of it via the alias.\n#\n# INGESTER configures the host name to use to look \n# for ingester nodes.\ndocker plugin install \\\n        --alias oklog \\\n        cirocosta/oklog-docker-plugin \\\n        INGESTER=127.0.0.1:7651\n\n\n# Run a container with `oklog` being used as the log\n# plugin. \ndocker run \\\n        --log-driver oklog \\\n        alpine echo lol\n\n# Query oklog for the the last logs stored in the last\n# 1m\noklog query -from 1m\ncid=f034d50a48a964cc5ef7b4dd678cc155246de8209c32a25891cfe81c9ce296fc lol\n\n\n# Run a container with `oklog` as the log plugin but\n# capturing the labels specified so that we can query\n# against them in the future.\ndocker run \\\n        --log-driver oklog \\\n        --log-opt labels=foo \\\n        --label foo=bar \\\n        alpine echo lol2\n\n# Query all the logs from the last 3min\noklog query -from 3m\ncid=f034d50a48a964cc5ef7b4dd678cc155246de8209c32a25891cfe81c9ce296fc lol\ncid=fcf89d4cd2a6bcb33b50cb21fe29d4245efb473e94e8b427fb252ed298434dc1 foo=bar lol2\n\n# Query all the logs from the last 3min but only\n# those that container `foo=bar`\noklog query -from 3m -q foo=bar\ncid=fcf89d4cd2a6bcb33b50cb21fe29d4245efb473e94e8b427fb252ed298434dc1 foo=bar lol2\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Foklog-docker-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Foklog-docker-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Foklog-docker-plugin/lists"}