{"id":21915599,"url":"https://github.com/clustercockpit/cc-event-store","last_synced_at":"2026-04-20T09:02:00.066Z","repository":{"id":245937591,"uuid":"778773195","full_name":"ClusterCockpit/cc-event-store","owner":"ClusterCockpit","description":"A simple store for job and system events","archived":false,"fork":false,"pushed_at":"2026-04-07T16:17:29.000Z","size":10429,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-07T18:14:24.446Z","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/ClusterCockpit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-28T11:25:53.000Z","updated_at":"2026-04-07T16:17:53.000Z","dependencies_parsed_at":"2024-07-11T13:08:16.769Z","dependency_job_id":"7416211b-0200-4fea-bfea-086d912a877f","html_url":"https://github.com/ClusterCockpit/cc-event-store","commit_stats":null,"previous_names":["clustercockpit/cc-event-store"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ClusterCockpit/cc-event-store","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterCockpit%2Fcc-event-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterCockpit%2Fcc-event-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterCockpit%2Fcc-event-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterCockpit%2Fcc-event-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ClusterCockpit","download_url":"https://codeload.github.com/ClusterCockpit/cc-event-store/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ClusterCockpit%2Fcc-event-store/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32040353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-28T19:13:03.202Z","updated_at":"2026-04-20T09:02:00.061Z","avatar_url":"https://github.com/ClusterCockpit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n---\ntitle: cc-event-store\ndescription: Storage server for event and log messages\ncategories: [cc-event-store]\ntags: ['Admin']\nweight: 1\nhugo_path: docs/reference/cc-event-store/_index.md\n---\n--\u003e\n\n\n# cc-event-store\n\nA simple short-term store for job and system events as well as logs in the ClusterCockpit ecosystem. Event and Logs were introduced\nas an extension to the previous `CCMetric` messages, numeric data from the compute nodes known as metrics (see lineprotocol\nspecifcation at [cc-specification](https://github.com/ClusterCockpit/cc-specifications)). Events and Logs are strings and in\ncontrast to the periodic sending of metric from the [`cc-metric-collector`](https://github.com/ClusterCockpit/cc-metric-collector),\nevents and logs can happen at any time. All storage backends have a configuration option for the retention time for which\nevents should be kept. Logs are never deleted.\n\n## Configuration\n\n```json\n{\n    \"main\": {},\n    \"receiver-file\" : \"/path/to/receiver/config/file\",\n    \"storage-file\" : \"/path/to/storage/config/file\",\n    \"api-file\" : \"/path/to/api/config/file\"\n}\n```\n\nFor the format of each file, see here:\n- [Receivers](https://github.com/ClusterCockpit/cc-lib/blob/main/receivers/README.md)\n- [Storage](./internal/storage/README.md)\n- [API](./internal/api/README.md)\n\n## Structure\nThe `cc-event-store` has 4 components that are coupled together in the binary.\n\n- The event and log message receivers are reused from [`cc-metric-collector`](https://github.com/ClusterCockpit/cc-metric-collector).\n  There they are used to receive metrics from remote targets but are flexible enough to receive events and logs as well.\n  See [receivers](https://github.com/ClusterCockpit/cc-lib/blob/main/receivers/README.md)'s receivers.\n- The router forwards the events and logs to the storage manager.\n- The storage manager is a frontend to some database backends like SQLite or Postgres. The SQLite backend is the main development target.\n- The REST API is mainly used to query the storage backends but can also be used to insert events and logs.\n\nThis also explains why `cc-event-store` uses multiple configuration files, all coupled by a central configuration file. Each component has its own configuration file which makes it possible to reuse the receivers from [`cc-metric-collector`](https://github.com/ClusterCockpit/cc-metric-collector) without any changes, it just requires its configuration file.\n\n# cc-event-client\n\nTest client to send event or log messages over NATS\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclustercockpit%2Fcc-event-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclustercockpit%2Fcc-event-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclustercockpit%2Fcc-event-store/lists"}