16 Commits
v1.0.1 ... main

Author SHA1 Message Date
273fed1776 Added certificate based authentication option 2024-12-13 00:21:17 -05:00
4bbf0c6bf1 Allow no auth connections 2024-12-09 15:30:18 -05:00
23a7c216ab Added missing spacer between 'Uptime' and 'OS' 2024-12-06 12:31:57 -05:00
66e5e4a1b3 Fixed more padding & layout issues, renamed 'Node Roles' to 'Legend', cleaned up cluster metrics, etc 2024-12-06 12:21:56 -05:00
0912d77018 Added node uptimes, fixed padding and spacing in various spots to fit everything better. cluster stats box being redone with better stat displays (still working on that) 2024-12-05 22:15:32 -05:00
1d08518847 Indexes being written to are sorted to the top now 2024-12-02 22:36:12 -05:00
80303143ef Added thread pool information parsing for node ingestion/task stats, fixed some dynamic padding on the transport address 2024-12-02 22:29:34 -05:00
55db2a7a13 Added API authentication support 2024-12-02 21:29:34 -05:00
1caff77734 Added support for data streams 2024-11-30 15:08:01 -05:00
29ea00fb73 Sorting nodes by name now, dynamic padding for indexes based on if hidden indexes are toggled, fixed width for the node roles panel 2024-11-29 13:24:14 -05:00
7d2187ae85 Added a toggle to press h to hide/show hidden indexes 2024-11-29 12:08:23 -05:00
12b106cda5 Added http support 2024-11-29 11:57:37 -05:00
2bc93bf707 Removed leftover dev comments 2024-11-29 03:21:02 -05:00
1992593b01 Pointless comments removed from source 2024-11-29 03:11:02 -05:00
6e7759e8c2 Removed un-used var 2024-11-29 03:04:43 -05:00
e18be60221 Ensure no negative padding 2024-11-29 02:56:56 -05:00
4 changed files with 665 additions and 364 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
elastop
# Test binary, built with `go test -c`
*.test

View File

@@ -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

BIN
elastop

Binary file not shown.

File diff suppressed because it is too large Load Diff