{"id":19693856,"url":"https://github.com/aiven-open/aiven-string-replacer-for-grafana","last_synced_at":"2026-01-12T00:53:58.883Z","repository":{"id":46658427,"uuid":"496234870","full_name":"Aiven-Open/aiven-string-replacer-for-grafana","owner":"Aiven-Open","description":"Small tool that replaces strings in marshalled dashboards. It is handy if you want to replace a metric expression that occurs more than once or if a metric was renamed upstream.","archived":false,"fork":false,"pushed_at":"2024-02-22T08:55:49.000Z","size":3739,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-01-10T09:15:26.709Z","etag":null,"topics":["dashboards","opensearch","replace-text"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aiven-Open.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-25T13:06:54.000Z","updated_at":"2023-08-17T13:20:31.000Z","dependencies_parsed_at":"2024-06-20T17:56:07.002Z","dependency_job_id":null,"html_url":"https://github.com/Aiven-Open/aiven-string-replacer-for-grafana","commit_stats":null,"previous_names":["aiven-open/aiven-string-replacer-for-grafana","aiven/aiven-string-replacer-for-grafana"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Faiven-string-replacer-for-grafana","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Faiven-string-replacer-for-grafana/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Faiven-string-replacer-for-grafana/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aiven-Open%2Faiven-string-replacer-for-grafana/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aiven-Open","download_url":"https://codeload.github.com/Aiven-Open/aiven-string-replacer-for-grafana/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241002086,"owners_count":19892105,"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":["dashboards","opensearch","replace-text"],"created_at":"2024-11-11T19:18:26.209Z","updated_at":"2026-01-12T00:53:58.871Z","avatar_url":"https://github.com/Aiven-Open.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiven-string-replacer-for-grafana\n\n## Reason\n\n`aiven-string-replacer-for-grafana` is a small tool that replaces strings in marshalled dashboards.\nIt is handy if you want to replace a metric expression that occurs more than once or if a metric was renamed upstream.\n\n## Installing\n\n```bash\ngo install github.com/aiven/aiven-string-replacer-for-grafana\n```\n\n## Usage\n```bash\nUsage of aiven-string-replacer-for-grafana:\n  -apikey string\n    \tGrafana api key (required)\n  -dry\n    \tJust show diffs without saving\n  -from string\n    \tReplace from (required)\n  -overwrite\n    \tOverwrite dashboard on conflict (default true)\n  -retries int\n    \tRetries when grafana the grafana api (default 3)\n  -to string\n    \tReplace to (required)\n  -uid string\n    \tDashboard uid to process (required)\n  -url string\n    \tGrafana url (required)\n```\n\n\nFor example, if you wish to rename metrics that start with `elasticsearch_` to metrics that start with `opensearch_`:\n\n```bash\naiven-string-replacer-for-grafana -apikey [...] -url https://my-grafana.org/ -from elasticsearch_ -to opensearch_ -uid [...]\n```\n\n## License\n`aiven-string-replacer-for-grafana` is licensed under the Apache license, version 2.0. Full license text is available in the LICENSE file.\n\nPlease note that the project explicitly does not require a CLA (Contributor License Agreement) from its contributors.\n\n## Contact\nBug reports and patches are very welcome, please post them as GitHub issues and pull requests at https://github.com/aiven/aiven-string-replacer-for-grafana . To report any possible vulnerabilities or other serious issues please see our security policy.\n\n## Disclaimer\n\nGrafana, Elasticsearch and OpenSearch are trademarks and property of their respective owners. All product and service names used in this website are for identification purposes only and do not imply endorsement.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiven-open%2Faiven-string-replacer-for-grafana","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiven-open%2Faiven-string-replacer-for-grafana","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiven-open%2Faiven-string-replacer-for-grafana/lists"}