{"id":19879140,"url":"https://github.com/boyvinall/oklog-compose","last_synced_at":"2026-03-05T11:31:19.626Z","repository":{"id":79122945,"uuid":"81443567","full_name":"boyvinall/oklog-compose","owner":"boyvinall","description":"just fooling around with a simple oklog setup","archived":false,"fork":false,"pushed_at":"2017-02-09T13:22:36.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T02:35:38.208Z","etag":null,"topics":["log","logging"],"latest_commit_sha":null,"homepage":"https://github.com/oklog/oklog","language":"Makefile","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/boyvinall.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-02-09T11:31:14.000Z","updated_at":"2017-12-13T09:31:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"8e31ecb9-8196-43d2-a418-5abb08dba508","html_url":"https://github.com/boyvinall/oklog-compose","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boyvinall/oklog-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvinall%2Foklog-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvinall%2Foklog-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvinall%2Foklog-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvinall%2Foklog-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boyvinall","download_url":"https://codeload.github.com/boyvinall/oklog-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boyvinall%2Foklog-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30122098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T11:11:57.947Z","status":"ssl_error","status_checked_at":"2026-03-05T11:11:29.001Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["log","logging"],"created_at":"2024-11-12T17:07:41.574Z","updated_at":"2026-03-05T11:31:19.594Z","avatar_url":"https://github.com/boyvinall.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oklog-compose\n\nThis is a simple test setup to experiment with [github.com/oklog/oklog](https://github.com/oklog/oklog).\n\nThis needs to be built with go1.8.  If you don't have that already, then follow\nthe instructions at [https://golang.org/dl/](https://golang.org/dl/).\n\nTo build this, you can just type `make` to build it - or, if you're using `go get`\nto grab the latest golang release, something like this:\n\n    # make GO=go1.8rc3\n    CGO_ENABLED=0 go1.8rc3 build -ldflags=\"-s -w\" github.com/oklog/oklog/cmd/oklog\n    docker build -t oklog .\n    Sending build context to Docker daemon 9.252 MB\n    Step 1 : FROM alpine\n     ---\u003e 88e169ea8f46\n    Step 2 : ADD oklog run.sh /\n     ---\u003e d7cc2a23f13a\n    Removing intermediate container 984441cc54f1\n    Step 3 : ENV OKLOG_COMMAND ingeststore OKLOG_API tcp://0.0.0.0:10000 OKLOG_INGEST_FAST tcp://0.0.0.0:10001 OKLOG_INGEST_DURABLE tcp://0.0.0.0:10002 OKLOG_INGEST_BULK tcp://0.0.0.0:10003 OKLOG_CLUSTER tcp://0.0.0.0:10009 OKLOG_STORE_SEGMENT_TARGET_SIZE 1000000 OKLOG_STORE_SEGMENT_RETAIN 30m     OKLOG_STORE_SEGMENT_PURGE 5m OKLOG_INGEST_PATH /data/ingest OKLOG_STORE_PATH /data/store\n     ---\u003e Running in bb94eb6a71c1\n     ---\u003e 57a5d36c005d\n    Removing intermediate container bb94eb6a71c1\n    Step 4 : ENTRYPOINT /run.sh\n     ---\u003e Running in 5bce300374a4\n     ---\u003e 4418e376e544\n    Removing intermediate container 5bce300374a4\n    Successfully built 4418e376e544\n    docker-compose up -d\n    Creating network \"oklog_default\" with the default driver\n    Creating volume \"oklog_data1\" with default driver\n    Creating volume \"oklog_data3\" with default driver\n    Creating volume \"oklog_data2\" with default driver\n    Creating oklog_logspout_1\n    Creating oklog3\n    Creating oklog1\n    Creating oklog2\n\nIf you have a `GOPATH` setup then that should be respected, otherwise the makefile\nwill set it underneath this repo.\n\nThe compose stack here has a logspout container running to grab docker logs on this machine.\nYou can use this to get some logs into oklog by running the following:\n\n    docker run --rm ubuntu:latest bash -c 'for i in {1..10}; do date; sleep 1; done'\n\nThen you can query for the logs as follows:\n\n    ./oklog query --store localhost:10010\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyvinall%2Foklog-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboyvinall%2Foklog-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboyvinall%2Foklog-compose/lists"}