1. Centos7クラスタが開始されています
2.プラグCentOSに
ブラウザのプラグインをヘッドに使用され、Webフロントエンドの表示プラグインがESデータと相互作用し、クライアントプラグインESの状態を監視するために使用されます。
3.依存関係を追加します。
log4j2.xml https://www.cnblogs.com/JBLi/p/11403956.htmlを追加
4.コードを実行します。
< 依存性> < 依存性> < のgroupId > org.elasticsearch </ のgroupId > < たartifactId > elasticsearch </ たartifactId > < バージョン> 5.4.3 </ バージョン> </ 依存> < 依存性> < のgroupId > org.elasticsearch.client < / のgroupId > < たartifactId >輸送</ たartifactId > <バージョン> 5.4.3 </ バージョン> </ 依存> < 依存性> < のgroupId > org.apache.logging.log4j </ のgroupId > < たartifactId > log4jのコア</ たartifactId > < バージョン> 2.9.0 </ バージョン> </ 依存関係> < 依存> < groupIdを> io.netty </ groupIdを> <たartifactId >網状オール</ たartifactId > < バージョン> 4.1.25.Final </ バージョン> </ 依存> < 依存性> < のgroupId > JUnitの</ のgroupId > < たartifactId > JUnitの</ たartifactId > < バージョン> 4.12 </ バージョン> </ 依存関係> </ 依存関係>