{"id":44905046,"url":"https://github.com/adibendahan/mysqlbeat","last_synced_at":"2026-02-17T22:14:38.748Z","repository":{"id":57500902,"uuid":"56603559","full_name":"adibendahan/mysqlbeat","owner":"adibendahan","description":"Fully customizable Beat for MySQL server - this beat will ship the results of any query defined in the config file to Elasticsearch.","archived":false,"fork":false,"pushed_at":"2017-09-19T05:22:38.000Z","size":1525,"stargazers_count":107,"open_issues_count":7,"forks_count":40,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-20T10:59:57.130Z","etag":null,"topics":["beats","elasticsearch","kibana","kibana-dashboard","mysql","mysql-dashboard","mysql-performance","mysql-server"],"latest_commit_sha":null,"homepage":"","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/adibendahan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-19T14:23:40.000Z","updated_at":"2024-05-12T12:28:00.000Z","dependencies_parsed_at":"2022-08-31T11:03:13.345Z","dependency_job_id":null,"html_url":"https://github.com/adibendahan/mysqlbeat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/adibendahan/mysqlbeat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adibendahan%2Fmysqlbeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adibendahan%2Fmysqlbeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adibendahan%2Fmysqlbeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adibendahan%2Fmysqlbeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adibendahan","download_url":"https://codeload.github.com/adibendahan/mysqlbeat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adibendahan%2Fmysqlbeat/sbom","scorecard":{"id":166424,"data":{"date":"2025-08-11","repo":{"name":"github.com/adibendahan/mysqlbeat","commit":"0c74f6ac75d6f27a5812459997e76516472f31a7"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.0.0 not signed: https://api.github.com/repos/adibendahan/mysqlbeat/releases/3215000","Warn: release artifact 1.0.0 does not have provenance: https://api.github.com/repos/adibendahan/mysqlbeat/releases/3215000"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-16T15:01:00.472Z","repository_id":57500902,"created_at":"2025-08-16T15:01:00.472Z","updated_at":"2025-08-16T15:01:00.472Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29560030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"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":["beats","elasticsearch","kibana","kibana-dashboard","mysql","mysql-dashboard","mysql-performance","mysql-server"],"created_at":"2026-02-17T22:14:38.023Z","updated_at":"2026-02-17T22:14:38.743Z","avatar_url":"https://github.com/adibendahan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysqlbeat\nFully customizable Beat for MySQL server - this beat will ship the results of any query defined in the config file to Elasticsearch.\n\n\n## Current status\n First beta release [available here](https://github.com/adibendahan/mysqlbeat/releases/tag/1.0.0).\n\n## Features\n\n* Connect to any MySQL server and run queries\n * `single-row` queries will be translated as columnname:value.\n * `two-columns` will be translated as value-column1:value-column2 for each row.\n * `multiple-rows` each row will be a document (with columnname:value) **NEW:** Added DELTA support.\n * `show-slave-delay` will only send the \"Seconds_Behind_Master\" column from `SHOW SLAVE STATUS;`\n* Any column that ends with the delatwildcard (default is __DELTA) will send delta results, extremely useful for server counters.\n  `((newval - oldval)/timediff.Seconds())`\n* MySQL Performance Dashboard (more details below)\n\n## How to Build\n\nmysqlbeat uses Glide for dependency management. To install glide see: https://github.com/Masterminds/glide\n\n```shell\n$ glide update --no-recursive\n$ make\n```\n\n## Default Configuration\n\nEdit mysqlbeat configuration in ```mysqlbeat.yml``` .\nYou can:\n * Add queries to the `queries` array\n * Add query types to the `querytypes` array\n * Define Username/Password to connect to the MySQL\n * Define the column wild card for delta columns\n * Define the column wild card for delta key columns \n * Password can be saved in clear text/AES encryption\n\nIf you choose to use the mysqlbeat as is, just run the following on your MySQL Server:\n  ```\n   GRANT REPLICATION CLIENT, PROCESS ON *.* TO 'mysqlbeat_user'@'%' IDENTIFIED BY 'mysqlbeat_pass';\n  ```\n\nNotes on password encryption: Before you compile your own mysqlbeat, you should put a new secret in the code (defined as a const), secret length must be 16, 24 or 32, corresponding to the AES-128, AES-192 or AES-256 algorithm. I recommend deleting the secret from the source code after you have your compiled mysqlbeat. You can encrypt your password with [mysqlbeat-password-encrypter](github.com/adibendahan/mysqlbeat-password-encrypter, \"github.com/adibendahan/mysqlbeat-password-encrypter\") just update your secret (and commonIV if you choose to change it) and compile.\n\n## Template\n The default template is provided, if you add any queries you should update the template accordingly.\n \n To apply the default template run:\n \t```\n \t curl -XPUT http://\u003chost\u003e:9200/_template/mysqlbeat -d@etc/mysqlbeat-template.json\n \t```\n\n## How to use\nJust run ```mysqlbeat -c mysqlbeat.yml``` and you are good to go.\n\n## MySQL Performance Dashboard by mysqlbeat\nThis dashboard created as an addition to the MySQL dashboard provided by packetbeat, use them both.\nRun the default configuration provided to get the dashboard below (you should import ```dashboard/mysql_performance_dashboard_by_mysqlbeat.json``` to create the dashboard in Kibana).\n\n![mysql_performance_by_mysqlbeat__dashboard__kibana](https://cloud.githubusercontent.com/assets/2807536/14936629/3a3b88e8-0efa-11e6-87ef-eb864498d3ab.png)\n\n\n## License\nGNU General Public License v2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadibendahan%2Fmysqlbeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadibendahan%2Fmysqlbeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadibendahan%2Fmysqlbeat/lists"}