{"id":40826569,"url":"https://github.com/jenrik/alertmanager-logger-webhook","last_synced_at":"2026-01-21T22:16:43.197Z","repository":{"id":246818635,"uuid":"822265389","full_name":"jenrik/alertmanager-logger-webhook","owner":"jenrik","description":"logs alerts from Alertmanager webhook to a file, ideal for use with promtail","archived":false,"fork":false,"pushed_at":"2025-12-04T09:07:42.000Z","size":55,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-07T16:54:11.090Z","etag":null,"topics":["alertmanager","alertmanager-webhook","promtail"],"latest_commit_sha":null,"homepage":"","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/jenrik.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-06-30T18:45:33.000Z","updated_at":"2025-12-04T09:07:44.000Z","dependencies_parsed_at":"2025-05-13T13:21:15.183Z","dependency_job_id":"cd3965bf-890b-4cd5-9685-d4cec3f208a3","html_url":"https://github.com/jenrik/alertmanager-logger-webhook","commit_stats":null,"previous_names":["jenrik/alertmanager-logger-webhook"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jenrik/alertmanager-logger-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenrik%2Falertmanager-logger-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenrik%2Falertmanager-logger-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenrik%2Falertmanager-logger-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenrik%2Falertmanager-logger-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jenrik","download_url":"https://codeload.github.com/jenrik/alertmanager-logger-webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jenrik%2Falertmanager-logger-webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["alertmanager","alertmanager-webhook","promtail"],"created_at":"2026-01-21T22:16:43.119Z","updated_at":"2026-01-21T22:16:43.188Z","avatar_url":"https://github.com/jenrik.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alertmanager-Logger-Webhook\n\nLogs alerts from [AlertManager](https://github.com/prometheus/alertmanager) to log files for easy and reliable collection.\n\nalertmanager-logger-webhook is designed to minimize the chance of losing events by implementing graceful shutdown and managed log file rotation.\n\n## Setup\nThe logger by itself does not need to be configured in most cases, but you will need to configure you AlertManager instance to send alerts to the logger.\nThe following is an example of how you can configure you AlertManager:\n\n```yaml\nroute:\n  receiver: logger\n  continue: true\n  # Do not bundle, just send immediately\n  group_wait: 0s\n  group_interval: 0s\n  routes:\n    - # Your routes here\n\nreceivers:\n  - name: logger\n    webhooks_configs:\n      - url: \"http://alertmanager-logger-webhook:8080/log\"\n        send_resolved: true\n        # Disable bundling for easier data processing later\n        max_alerts: 1\n```\n\n_Remember to store the produced log files somewhere safe and useful._\n\n## Verifying artifacts\n\n### Binary artifacts\n\n```sh\nVERSION=1.0.0\nOS=linux\nARCH=amd64\n\ncurl -sSfL -o \"binary-${OS}-${ARCH}\" \"https://github.com/jenrik/alertmanager-logger-webhook/releases/download/v${VERSION}/binary-${OS}-${ARCH}\"\ncurl -sSfL -o \"binary-${OS}-${ARCH}.intoto.jsonl\" \"https://github.com/jenrik/alertmanager-logger-webhook/releases/download/v${VERSION}/binary-${OS}-${ARCH}.intoto.jsonl\"\nslsa-verifier verify-artifact --print-provenance --source-uri=github.com/jenrik/alertmanager-logger-webhook --provenance-path binary-${OS}-${ARCH}.intoto.jsonl binary-${OS}-${ARCH}\n```\n\n# Container\n\n```sh\nVERSION=1.0.0\nDIGEST=sha256:7f825a2d0bc99179a233fbabb8e01ecbda9c3e56f8feebbd7fa4cd4a9217c7cc\nslsa-verifier verify-image --source-uri=github.com/jenrik/alertmanager-logger-webhook --source-tag=v${VERSION} ghcr.io/jenrik/alertmanager-logger-webhook:latest@${DIGEST}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenrik%2Falertmanager-logger-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjenrik%2Falertmanager-logger-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjenrik%2Falertmanager-logger-webhook/lists"}