{"id":17034552,"url":"https://github.com/caub/filebeat-bug","last_synced_at":"2026-05-19T10:02:43.890Z","repository":{"id":151002945,"uuid":"154709367","full_name":"caub/filebeat-bug","owner":"caub","description":"Repro for filebeat DNS peak bug with docker swarm","archived":false,"fork":false,"pushed_at":"2018-10-25T19:25:09.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T22:17:55.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/caub.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":"2018-10-25T17:13:16.000Z","updated_at":"2018-10-25T19:25:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"8216612e-fdbd-4c46-9ecf-95f3428b5c38","html_url":"https://github.com/caub/filebeat-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/caub/filebeat-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Ffilebeat-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Ffilebeat-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Ffilebeat-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Ffilebeat-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/caub","download_url":"https://codeload.github.com/caub/filebeat-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/caub%2Ffilebeat-bug/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262723914,"owners_count":23354144,"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-10-14T08:43:56.456Z","updated_at":"2026-05-19T10:02:43.785Z","avatar_url":"https://github.com/caub.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Repro for DNS peaks filebeat issue\n\nYou just need 1 machine running docker in swarm mode (`docker swarm init`)\n\nMake sure it has this little script, used for waiting services:\n```sh\necho '#!/bin/sh\nuntil curl -sf \"$1\" 1\u003e/dev/null; do sleep 1; done' | sudo tee /usr/local/bin/wait-for\nsudo chmod +x /usr/local/bin/wait-for\n```\n\nStart the services\n```sh\ndocker stack up x -c infra.yml\n```\n\nMonitor DNS on host swarm-dev-1\n```sh\nsudo tcpdump -i eth0 udp port 53\n```\n\nWait a few minutes .. and remove elasticsearch service\n```sh\ndocker service rm x_elasticsearch\n```\n\nThen DNS reqs start peaking at [0:28][1], one DNS req every millisecond or more\n\nStop filebeat and see the traffic calm down, from [0:58][1]\n\n```sh\ndocker service rm x_filebeat\n```\n\nStopping other services completely eliminate DNS reqs traffic\n\n[1]: https://streamable.com/xu5xy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Ffilebeat-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaub%2Ffilebeat-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaub%2Ffilebeat-bug/lists"}