Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
273fed1776 | ||
|
|
4bbf0c6bf1 | ||
|
|
23a7c216ab | ||
|
|
66e5e4a1b3 | ||
|
|
0912d77018 | ||
|
|
1d08518847 | ||
|
|
80303143ef | ||
|
|
55db2a7a13 | ||
|
|
1caff77734 | ||
|
|
29ea00fb73 | ||
|
|
7d2187ae85 | ||
|
|
12b106cda5 | ||
|
|
2bc93bf707 | ||
|
|
1992593b01 | ||
|
|
6e7759e8c2 |
@@ -4,6 +4,7 @@
|
||||
*.dll
|
||||
*.so
|
||||
*.dylib
|
||||
elastop
|
||||
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+630
-354
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user