elastic-trib 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
elastic-trib 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
elastic-trib 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 Apache-2.0
开发语言 Google Go
操作系统 跨平台
软件类型 开源软件
开源组织
地区 不详
投 递 者 罗奇奇
适用人群 未知
收录时间 2023-07-07

软件简介

elastic-trib 可从命令行创建和管理[弹性集群] (Elastic Cluster)。

依赖

依赖项由 godep 处理,只需安装它并输入godep restore即可获取它们。

安装

在第一次构建中恢复项目环境

$ git clone https://github.com/soarpenguin/elastic-trib.git
$ cd elastic-trib
$ make godep
$ make bin
$ PROG=./elastic-trib source ./autocomplete/bash_autocomplete

构建代码

$ cd elastic-trib
$ make bin

用法

NAME:
   elastic-trib - Elasticsearch Cluster command line utility.

For cluster/indices/nodes/tasks operation etc, you must specify the cluster name or host:port
of any working node in the cluster.

USAGE:
   elastic-trib [global options] command [command options] [arguments...]

VERSION:
   v0.1.d6ea303

COMMANDS:
     cluster, c  Elastic cluster operation cmd.
     indices, i  Elastic indices operation cmd.
     nodes, n    Elastic nodes operation cmd.
     tasks, t    Elastic tasks operation cmd.
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --host value, -H value       a host of elastic node.
   --cluster value, -c value    appoint cluster name: elastic-log (host url in elastic-trib.yaml config).
   --config value               appoint config file name.(default: ./elastic-trib.yaml)
   --http-auth value, -A value  use basic authentication ex: user:pass.
   --log value                  set the log file path where internal debug information is written.
   --log-format value           set the format used by logs ('text' or 'json'). (default: "text")
   --debug                      enable debug output for logging.
   --help, -h                   show help
   --version, -v                print the version

 

 

展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论

点击引领话题📣 发布并加入讨论🔥
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
暂无内容
0 评论
1 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部