{"id":28729785,"url":"https://github.com/didi/elastic-trib","last_synced_at":"2025-06-15T17:11:02.744Z","repository":{"id":57529023,"uuid":"191970269","full_name":"didi/elastic-trib","owner":"didi","description":"elasticsearch cluster command line tool.","archived":false,"fork":false,"pushed_at":"2019-06-14T16:09:58.000Z","size":1521,"stargazers_count":39,"open_issues_count":0,"forks_count":14,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-06-20T12:04:21.829Z","etag":null,"topics":[],"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/didi.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}},"created_at":"2019-06-14T15:53:10.000Z","updated_at":"2024-06-20T12:04:21.830Z","dependencies_parsed_at":"2022-08-28T11:20:43.036Z","dependency_job_id":null,"html_url":"https://github.com/didi/elastic-trib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/didi/elastic-trib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Felastic-trib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Felastic-trib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Felastic-trib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Felastic-trib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/didi","download_url":"https://codeload.github.com/didi/elastic-trib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didi%2Felastic-trib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260016055,"owners_count":22946321,"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":"2025-06-15T17:11:01.534Z","updated_at":"2025-06-15T17:11:02.728Z","avatar_url":"https://github.com/didi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **elastic-trib** \u003csup\u003e\u003csub\u003e_elastic cluster command line tool._\u003c/sub\u003e\u003c/sup\u003e\n\nCreate and administrate your [Elastic Cluster][cluster-tutorial] from the Command Line.\n\n## Dependencies\n\n* [elastic][]\n* [cli][]\n* [logrus][]\n\nDependencies are handled by [godep][], simple install it and type `godep restore` to fetch them.\n\n## Install\n\n#### Restore project env in first build\n```console\n$ git clone https://github.com/soarpenguin/elastic-trib.git\n$ cd elastic-trib\n$ make godep\n$ make bin\n$ PROG=./elastic-trib source ./autocomplete/bash_autocomplete\n```\n\n#### Build the code\n```console\n$ cd elastic-trib\n$ make bin\n```\n\n## Usage\n\n```console\nNAME:\n   elastic-trib - Elasticsearch Cluster command line utility.\n\nFor cluster/indices/nodes/tasks operation etc, you must specify the cluster name or host:port\nof any working node in the cluster.\n\nUSAGE:\n   elastic-trib [global options] command [command options] [arguments...]\n\nVERSION:\n   v0.1.d6ea303\n\nCOMMANDS:\n     cluster, c  Elastic cluster operation cmd.\n     indices, i  Elastic indices operation cmd.\n     nodes, n    Elastic nodes operation cmd.\n     tasks, t    Elastic tasks operation cmd.\n     help, h     Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --host value, -H value       a host of elastic node.\n   --cluster value, -c value    appoint cluster name: elastic-log (host url in elastic-trib.yaml config).\n   --config value               appoint config file name.(default: ./elastic-trib.yaml)\n   --http-auth value, -A value  use basic authentication ex: user:pass.\n   --log value                  set the log file path where internal debug information is written.\n   --log-format value           set the format used by logs ('text' or 'json'). (default: \"text\")\n   --debug                      enable debug output for logging.\n   --help, -h                   show help\n   --version, -v                print the version\n```\n\n[elastic]: https://github.com/olivere/elastic\n[cli]: https://github.com/codegangsta/cli\n[logrus]: https://github.com/Sirupsen/logrus\n[godep]: https://github.com/tools/godep \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidi%2Felastic-trib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdidi%2Felastic-trib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidi%2Felastic-trib/lists"}