Compare commits
21 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 273fed1776 | |||
| 4bbf0c6bf1 | |||
| 23a7c216ab | |||
| 66e5e4a1b3 | |||
| 0912d77018 | |||
| 1d08518847 | |||
| 80303143ef | |||
| 55db2a7a13 | |||
| 1caff77734 | |||
| 29ea00fb73 | |||
| 7d2187ae85 | |||
| 12b106cda5 | |||
| 2bc93bf707 | |||
| 1992593b01 | |||
| 6e7759e8c2 | |||
| e18be60221 | |||
| dc52d4e862 | |||
| 4005778512 | |||
| 744fd5a57d | |||
| 992943aa84 | |||
| 7ecdede375 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
elastop
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
37
README.md
37
README.md
@@ -20,7 +20,7 @@ Elastop is a terminal-based dashboard for monitoring Elasticsearch clusters in r
|
||||
|
||||
```bash
|
||||
# Clone the repository
|
||||
git git clone https://github.com/yourusername/elastop.git
|
||||
git clone https://github.com/acidvegas/elastop.git
|
||||
cd elastop
|
||||
go build
|
||||
```
|
||||
@@ -32,12 +32,35 @@ go build
|
||||
```
|
||||
|
||||
### Command Line Flags
|
||||
| Flag | Description | Default |
|
||||
| ----------- | ---------------------- | ------------- |
|
||||
| `-host` | Elasticsearch host | `localhost` |
|
||||
| `-port` | Elasticsearch port | `9200` |
|
||||
| `-user` | Elasticsearch username | `elastic` |
|
||||
| `-password` | Elasticsearch password | `ES_PASSWORD` |
|
||||
| Flag | Description | Default |
|
||||
| ----------- | ------------------------------------- | ------------- |
|
||||
| `-host` | Elasticsearch host | `localhost` |
|
||||
| `-port` | Elasticsearch port | `9200` |
|
||||
| `-user` | Elasticsearch username | `elastic` |
|
||||
| `-password` | Elasticsearch password | `ES_PASSWORD` |
|
||||
| `-apikey` | Elasticsearch API key | `ES_API_KEY` |
|
||||
| `-cert` | Path to client certificate file | |
|
||||
| `-key` | Path to client private key file | |
|
||||
| `-ca` | Path to CA certificate file | |
|
||||
| `-insecure` | Skip TLS certificate verification | `false` |
|
||||
|
||||
Note: Only one authentication method (username/password, API key, or certificates) can be used at a time.
|
||||
|
||||
### Authentication Examples
|
||||
|
||||
```bash
|
||||
# Using username/password
|
||||
./elastop -host https://elasticsearch.example.com -user elastic -password secret
|
||||
|
||||
# Using API key
|
||||
./elastop -host https://elasticsearch.example.com -apikey your_api_key
|
||||
|
||||
# Using certificate authentication
|
||||
./elastop -host https://elasticsearch.example.com -cert /path/to/client.crt -key /path/to/client.key -ca /path/to/ca.crt
|
||||
|
||||
# Using certificate authentication with insecure SSL (not recommended for production)
|
||||
./elastop -host https://elasticsearch.example.com -cert /path/to/client.crt -key /path/to/client.key -insecure
|
||||
```
|
||||
|
||||
## Dashboard Layout
|
||||
|
||||
|
||||
1107
elastop.go
1107
elastop.go
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user