I just need a start , actually I am totally new to java scripting and I want to connect to Elasticsearch API to show cluster health on my html page . I know for this we have lots of plugins available which can show cluster health like head, kopf etc but I want to create my own HTML page .I want to show something like.
Number of nodes
Number of data nodes
Active primary shards
Any help on this will be greatly appreciated. Thanks in advance