Elasticsearch Comrade - admin panel

Hi comrades👏
My name is Moshe and in the last months, I wrote an admin panel for elastic from scratch.
Wanted to hear your opinions before I go public with it.
Github repo and documentation are here - https://github.com/moshe/elasticsearch-comrade
Please let me know if you install it, use it or have any issues




Thanks

1 Like

Hello Mosh, I am trying to use comrade admin panel but no success yet.
I already read this https://moshe-1.gitbook.io/comrade/ and had search over internet

cluster file named comrade-clusters :
{ "name": "clustername", "params": { "hosts": ["http://10.0.1.71:9200"] <<< elastic search } }

command line to run Comrade :
comrade --host 10.0.1.71 --clusters-dir comrade-clusters
port 8000 as default

Resulting in this log:
'/usr/lib/python3/dist-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.25.7) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
[2020-01-06 20:49:53 +0000] [28994] [INFO] Goin' Fast @ http://10.0.1.71:8000
[2020-01-06 20:49:53 +0000] [28994] [INFO] Starting worker [28994]'

Then, When I try at browser (firefox and chrome) log shows correct GET requests:
'/home/ubuntu/.local/lib/python3.6/site-packages/comrade/static/index.html
[2020-01-06 20:50:26 +0000] - (sanic.access)[INFO][xxx:46504]: GET http://xxx:8000/ 200 2472
[2020-01-06 20:50:26 +0000] - (sanic.access)[INFO][xxx:46504]: GET http://xxx:8000/static/css/app.c03d1f7e.css 200 3175
[2020-01-06 20:50:26 +0000] - (sanic.access)[INFO][xxx]: GET http://xxx:8000/static/css/chunk-vendors.8f6fc926.css 200 826277
...'

But browser screen remains grey with no visible contents.
Inpecting network the main document receives response 200 ok but the content is "We're sorry but client doesn't work properly without JavaScript enabled. Please enable it to continue.

Browsers are already enabling java script but comrade doesnt work.

Ubuntu 18 64 bits
Java 11
ELK 7.5
Chrome Version 78.0.3904.97 (Official Build)

Can you help me ? thanks