https://github.com/unqnown/esctl
Elasticsearch cluster managing tool.
https://github.com/unqnown/esctl
backup cli elasticsearch
Last synced: 6 months ago
JSON representation
Elasticsearch cluster managing tool.
- Host: GitHub
- URL: https://github.com/unqnown/esctl
- Owner: unqnown
- License: mit
- Created: 2020-05-09T22:06:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T14:48:38.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T10:08:18.618Z (about 2 years ago)
- Topics: backup, cli, elasticsearch
- Language: Go
- Homepage:
- Size: 630 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
### esctl
esctl is cli tool for Elasticsearch cluster managing.

### features
- expressive and intuitive syntax
- formatted and colorized terminal output
- components high-level information
- indices management
- content dumping/restoring
### installation
Standard `go install`:
```shell script
go install github.com/unqnown/esctl
```
### quick start
`esctl` requires configuration file to connect to a cluster.
However, it is a waste of time to create configuration file from scratch.
Therefore it's recommended to use the `init` command which will create it interactively.
To start using `esctl` immediately with default configuration run:
```shell script
esctl init
```
Default configuration will be added to your `$HOME/.esctl` directory.
You are able to override config location with `$ESCTLCONFIG` env variable.
```yaml
version: v0.1.0
home: ~/.esctl/
clusters:
localhost:
servers:
- http://localhost:9200
contexts:
default:
cluster: localhost
context: default
```