{"id":46524,"date":"2017-02-27T14:48:57","date_gmt":"2017-02-27T09:18:57","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=46524"},"modified":"2017-03-02T15:49:54","modified_gmt":"2017-03-02T10:19:54","slug":"elasticsearch-plugins-for-monitoring-and-management-of-cluster-nodes","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/elasticsearch-plugins-for-monitoring-and-management-of-cluster-nodes\/","title":{"rendered":"Elasticsearch Plugins for Monitoring and Management of Cluster Nodes"},"content":{"rendered":"<p><span style=\"color: #000000;\">Elasticsearch offers highly useful plugin mechanism as a standard way for extending its core functionality such as custom analyzer, native scripts and more. While some plugins may contain static content which is served\u00a0through its HTTP server, some others\u00a0offer a graphical front-end for selected parts of the <a title=\"Elasticsearch Cluster\" href=\"http:\/\/www.tothenew.com\/blog\/elasticsearch-cluster-with-aws-spot-instances\/\">Elasticsearch<\/a> REST API such as monitoring, managing cluster and index state, or querying.<br \/>\n<\/span><br \/>\n<span style=\"color: #000000;\">Some of the plugins that we use in our production environment include:<\/span><br \/>\n<span style=\"color: #000000;\"> <b><br \/>\n1) Bigdesk<br \/>\n<\/b>The Bigdesk plugin displays graphs ranging from OS metrics to Elasticsearch thread pool and cache sizes for each node.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Key Features:<br \/>\n<\/strong>Provides information about each\u00a0node such as:<\/span><\/p>\n<ul>\n<ul>\n<li><span style=\"color: #000000;\">Global info about indices, field and filter caches<\/span><\/li>\n<li><span style=\"color: #000000;\">JVM details<\/span><\/li>\n<li><span style=\"color: #000000;\">OS details<\/span><\/li>\n<\/ul>\n<\/ul>\n<p><span style=\"color: #000000;\">Provides information about the charts such as:<\/span><\/p>\n<ul>\n<ul>\n<li><span style=\"color: #000000;\">Size of Field and Filter Caches<\/span><\/li>\n<li><span style=\"color: #000000;\">File Descriptors and Open Channels<\/span><\/li>\n<li><span style=\"color: #000000;\">JVM threads<\/span><\/li>\n<li><span style=\"color: #000000;\">JVM Heap and non-heap memory<\/span><\/li>\n<li><span style=\"color: #000000;\">OS CPU, Memory and Swap<\/span><\/li>\n<\/ul>\n<\/ul>\n<p><span style=\"color: #000000;\">Moreover, user can switch between the two <a href=\"http:\/\/www.tothenew.com\/blog\/elasticsearch-plugins-for-monitoring-and-management-of-cluster-nodes\/\">nodes in the cluster<\/a>. The new nodes are added and old nodes are removed automatically on the fly.<\/span><\/p>\n<p><span style=\"color: #000000;\"><b>I<\/b><b>nstallation :<br \/>\n<\/b><b>1) Go to elastic search home directory:\u00a0<\/b>Generally ES_HOME is\/usr\/share\/elasticsearch<br \/>\n<\/span><\/p>\n<p>[js]cd \/usr\/share\/elasticsearch[\/js]<\/p>\n<p><span style=\"color: #000000;\"> <b>2) Navigate to the node installation folder and run the following command: <\/b><\/span><\/p>\n<p>[js].\/bin\/plugin -install lukas-vlcek\/bigdesk[\/js]<\/p>\n<p><span style=\"color: #000000;\"> <b>3) To install a specific version (for example 2.4.0) run<\/b><\/span><\/p>\n<p>[js].\/bin\/plugin -install lukas-vlcek\/bigdesk\/2.4.0 [\/js]<\/p>\n<p><span style=\"color: #000000;\"> <b>4) Moving forward, navigate your web browser using the link below \u00a0<\/b>http:\/\/&lt;elasticsearch_REST_endpoint&gt;\/_plugin\/bigdesk\/<\/span><\/p>\n<p><span style=\"color: #000000;\">Navigate with the link below in case of\u00a0localhost:<\/span><br \/>\n<span style=\"color: #000000;\"> http:\/\/localhost:9200\/_plugin\/bigdesk<\/span><\/p>\n<p><span style=\"color: #000000;\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-46529\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-28-25.png\" alt=\"Screenshot from 2017-02-21 10-28-25\" width=\"1198\" height=\"575\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-28-25.png 1198w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-28-25-300x143.png 300w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-28-25-1024x491.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-28-25-624x299.png 624w\" sizes=\"(max-width: 1198px) 100vw, 1198px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-46528\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-44-59.png\" alt=\"Screenshot from 2017-02-21 10-44-59\" width=\"920\" height=\"227\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-44-59.png 920w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-44-59-300x74.png 300w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-21-10-44-59-624x153.png 624w\" sizes=\"(max-width: 920px) 100vw, 920px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\">These are the set of graphs that Bigdesk offers for each node in the cluster.<\/span><\/p>\n<p><span style=\"color: #000000;\"><b>2) Kopf<\/b><\/span><\/p>\n<p><span style=\"color: #000000;\">Kopf is a web administration tool for Elasticsearch written in JavaScript,\u00a0<a title=\"frontend development services\" href=\"http:\/\/www.tothenew.com\/front-end-angularjs-development\">AngularJS<\/a>, \u00a0jQuery, and Twitter bootstrap. Apparently, it was inspired by a German word (Kopf means head in German). It offers various filters for the large clusters such as\u00a0Nodes by name and type (client, data, master-eligible), indexes by name and state, hide special indexes created internally by Elasticsearch.<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>Key Features:<\/strong><\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">Quickly find an index.<\/span><\/li>\n<li><span style=\"color: #000000;\"> View index information<\/span><\/li>\n<li><span style=\"color: #000000;\">Issue administrative commands through rest client <\/span><\/li>\n<li><span style=\"color: #000000;\">Administer the Elasticsearch snapshot\/restore functionality<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-46527\" src=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-22-09-55-301.png\" alt=\"Screenshot from 2017-02-22 09-55-30\" width=\"1295\" height=\"509\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-22-09-55-301.png 1295w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-22-09-55-301-300x117.png 300w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-22-09-55-301-1024x402.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2017\/02\/Screenshot-from-2017-02-22-09-55-301-624x245.png 624w\" sizes=\"(max-width: 1295px) 100vw, 1295px\" \/><\/span><\/p>\n<p><span style=\"color: #000000;\"><b>Installation :<br \/>\n<\/b><b>1) Go to elastic search home directory:\u00a0<\/b>Generally, ES_HOME is \/usr\/share\/elasticsearch<br \/>\n<\/span><\/p>\n<p>[js]cd \/usr\/share\/elasticsearch[\/js]<\/p>\n<p><span style=\"color: #000000;\"> <b>2) Navigate to the node installation folder and run the following command: <\/b><\/span><\/p>\n<p>[js].\/bin\/plugin install immenezes\/elasticsearch-kopf[\/js]<\/p>\n<p><span style=\"color: #000000;\"> <b>3) Moving forward, navigate your web browser using the link below \u00a0<\/b>http:\/\/&lt;elasticsearch_REST_endpoint&gt;\/_plugin\/kopf\/<\/span><\/p>\n<p><span style=\"color: #000000;\">Navigate through the link below in the\u00a0case of local host:<\/span><br \/>\n<span style=\"color: #000000;\"> http:\/\/localhost:9200\/_plugin\/kopf<\/span><\/p>\n<p><span style=\"color: #000000;\">Hope this blog will give you detailed insights about Elasticsearch cluster. Please keep following my blog for more updates on other Elasticsearch plugins.\u00a0<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Elasticsearch offers highly useful plugin mechanism as a standard way for extending its core functionality such as custom analyzer, native scripts and more. While some plugins may contain static content which is served\u00a0through its HTTP server, some others\u00a0offer a graphical front-end for selected parts of the Elasticsearch REST API such as monitoring, managing cluster and [&hellip;]<\/p>\n","protected":false},"author":1050,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":7},"categories":[1174,2348,1],"tags":[2661,1524,4474,4476,4472,4475,4473],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/46524"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1050"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=46524"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/46524\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=46524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=46524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=46524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}