{"id":20163228,"url":"https://github.com/blockdaemon/polkadotbeat","last_synced_at":"2025-09-21T12:33:09.431Z","repository":{"id":103096551,"uuid":"202396396","full_name":"Blockdaemon/polkadotbeat","owner":"Blockdaemon","description":null,"archived":false,"fork":false,"pushed_at":"2019-08-14T17:31:25.000Z","size":44681,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-14T00:32:50.800Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Blockdaemon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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":"2019-08-14T17:29:20.000Z","updated_at":"2019-08-14T17:31:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3df175b4-b783-4888-b88b-8df2134cab28","html_url":"https://github.com/Blockdaemon/polkadotbeat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blockdaemon%2Fpolkadotbeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blockdaemon%2Fpolkadotbeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blockdaemon%2Fpolkadotbeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Blockdaemon%2Fpolkadotbeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Blockdaemon","download_url":"https://codeload.github.com/Blockdaemon/polkadotbeat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233753663,"owners_count":18724863,"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-11-14T00:28:41.275Z","updated_at":"2025-09-21T12:32:59.384Z","avatar_url":"https://github.com/Blockdaemon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polkadotbeat\n\nWelcome to Polkadotbeat.\n\nEnsure that this folder is at the following location:\n`${GOPATH}/src/github.com/Blockdaemon/polkadotbeat`\n\n## Getting Started with Polkadotbeat\n\n### Requirements\n\n* [Golang](https://golang.org/dl/) 1.7\n\n### Init Project\nTo get running with Polkadotbeat and also install the\ndependencies, run the following command:\n\n```\nmake setup\n```\n\nIt will create a clean git history for each major step. Note that you can always rewrite the history if you wish before pushing your changes.\n\nTo push Polkadotbeat in the git repository, run the following commands:\n\n```\ngit remote set-url origin https://github.com/Blockdaemon/polkadotbeat\ngit push origin master\n```\n\nFor further development, check out the [beat developer guide](https://www.elastic.co/guide/en/beats/libbeat/current/new-beat.html).\n\n### Build\n\nTo build the binary for Polkadotbeat run the command below. This will generate a binary\nin the same directory with the name polkadotbeat.\n\n```\nmake\n```\n\n\n### Run\n\nTo run Polkadotbeat with debugging output enabled, run:\n\n```\n./polkadotbeat -c polkadotbeat.yml -e -d \"*\"\n```\n\n\n### Test\n\nTo test Polkadotbeat, run the following command:\n\n```\nmake testsuite\n```\n\nalternatively:\n```\nmake unit-tests\nmake system-tests\nmake integration-tests\nmake coverage-report\n```\n\nThe test coverage is reported in the folder `./build/coverage/`\n\n### Update\n\nEach beat has a template for the mapping in elasticsearch and a documentation for the fields\nwhich is automatically generated based on `fields.yml` by running the following command.\n\n```\nmake update\n```\n\n\n### Cleanup\n\nTo clean  Polkadotbeat source code, run the following command:\n\n```\nmake fmt\n```\n\nTo clean up the build directory and generated artifacts, run:\n\n```\nmake clean\n```\n\n\n### Clone\n\nTo clone Polkadotbeat from the git repository, run the following commands:\n\n```\nmkdir -p ${GOPATH}/src/github.com/Blockdaemon/polkadotbeat\ngit clone https://github.com/Blockdaemon/polkadotbeat ${GOPATH}/src/github.com/Blockdaemon/polkadotbeat\n```\n\n\nFor further development, check out the [beat developer guide](https://www.elastic.co/guide/en/beats/libbeat/current/new-beat.html).\n\n\n## Packaging\n\nThe beat frameworks provides tools to crosscompile and package your beat for different platforms. This requires [docker](https://www.docker.com/) and vendoring as described above. To build packages of your beat, run the following command:\n\n```\nmake release\n```\n\nThis will fetch and create all images required for the build process. The whole process to finish can take several minutes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockdaemon%2Fpolkadotbeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockdaemon%2Fpolkadotbeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockdaemon%2Fpolkadotbeat/lists"}