An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

### esctl

esctl is cli tool for Elasticsearch cluster managing.

![esctl](assets/esctl.png)

### 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
```