{"id":412,"date":"2022-12-13T18:02:59","date_gmt":"2022-12-13T10:02:59","guid":{"rendered":"https:\/\/fugary.com\/?p=412"},"modified":"2022-12-14T10:23:41","modified_gmt":"2022-12-14T02:23:41","slug":"%e6%9c%ac%e5%9c%b0elasticsearch%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/fugary.com\/?p=412","title":{"rendered":"\u672c\u5730Elasticsearch\u5b89\u88c5\u914d\u7f6e"},"content":{"rendered":"<p><code>Elasticsearch<\/code>\u662f\u5f00\u6e90\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u57fa\u4e8e<code>Lucence<\/code>\u5f00\u53d1\uff0c\u5c5e\u4e8e<code>ELK<\/code>\u5957\u4ef6\u4e2d\u7684\u4e00\u5458\u3002<code>ELK=Elasticsearch\u3001Logstash\u3001Kibana<\/code>\u662f\u4ee5<code>Elasticsearch<\/code>\u4e3a\u6838\u5fc3\u7684\u641c\u7d22\u3001\u65e5\u5fd7\u641c\u96c6\uff0c\u53ef\u89c6\u5316\u5de5\u5177\u5957\u4ef6\u3002<\/p>\n<p>\u5b98\u7f51\uff1a<a href=\"https:\/\/www.elastic.co\/cn\/\">https:\/\/www.elastic.co\/cn\/<\/a><\/p>\n<h3>\u4e0b\u8f7d\u6309\u7167ES<\/h3>\n<h4>\u4e0b\u8f7dES<\/h4>\n<p>\u4e0b\u8f7d\u5730\u5740\uff1a<a href=\"https:\/\/www.elastic.co\/cn\/downloads\/elasticsearch\">https:\/\/www.elastic.co\/cn\/downloads\/elasticsearch<\/a><\/p>\n<p>\u6587\u6863\u5730\u5740\uff1a<a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/index.html\">https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/index.html<\/a><\/p>\n<p>\u9009\u62e9\u5bf9\u5e94\u7684\u7cfb\u7edf\u5e73\u53f0\uff0c\u6bd4\u5982<code>Windows<\/code>\u7248<\/p>\n<p>\u5b9e\u9645\u5730\u5740\uff1a<a href=\"https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-8.5.2-windows-x86_64.zip\">https:\/\/artifacts.elastic.co\/downloads\/elasticsearch\/elasticsearch-8.5.2-windows-x86_64.zip<\/a><\/p>\n<p>\u4e0b\u8f7d\u540e\u53ef\u4ee5\u542f\u52a8ES\u4e86\uff0c\u4e0d\u8fc7\u8981\u6ce8\u610f\uff0c\u9ed8\u8ba4\u60c5\u51b5\u662f\u6709\u5b89\u5168\u6027\u7684\u3002<\/p>\n<h4>\u542f\u52a8ES<\/h4>\n<p>\u89e3\u538b<code>Elasticsearch<\/code>\u76f8\u5173\u6587\u4ef6\uff0c\u7136\u540e\u627e\u5230<code>elasticsearch-8.5.2\\bin\\elasticsearch.bat<\/code>\u6587\u4ef6\u53cc\u51fb\u542f\u52a8\u5373\u53ef\u3002<\/p>\n<p><strong><code>ES8<\/code>\u4e4b\u540e\u63a8\u8350\u7528\u5185\u5d4c\u7684<code>JDK<\/code>\uff0c\u4e0d\u7528\u5916\u90e8\u7684<code>JDK<\/code>\u3002\u5f53\u7136\u4e5f\u53ef\u4ee5\u914d\u7f6e\u6210\u4f7f\u7528\u5916\u90e8JDK<\/strong><\/p>\n<blockquote>\n<p>warning: ignoring JAVA_HOME=C:\\softs\\Java\\jdk11.0.9.1+1; using bundled JDK<\/p>\n<\/blockquote>\n<p>\u542f\u52a8\u524d\u6700\u597d\u4fee\u6539\u4e00\u4e0b<code>config\/jvm.options<\/code>\u4fe1\u606f\uff0c\u6839\u636e\u5b9e\u9645\u8c03\u6574\u5806\u5185\u5b58\uff0c\u9ed8\u8ba4\u4f7f\u7528<code>8G<\/code>\u5185\u5b58\uff0c\u672c\u5730\u6d4b\u8bd5\u592a\u8017\u8d44\u6e90\u3002<\/p>\n<pre><code class=\"language-sh\">-Xms2G\n-Xmx2G\n-Dfile.encoding=GBK<\/code><\/pre>\n<p>\u9ed8\u8ba4\u542f\u7528\u4e86\u5b89\u5168\u6027\uff0c\u5982\u679c\u8981\u5173\u95ed\u5b89\u5168\u6027\u9700\u8981\u4fee\u6539<code>config\/elasticsearch.yml<\/code>\u4e2d\u7684<code>xpack.security.enabled: false<\/code><\/p>\n<p>\u5982\u679c\u8981\u5916\u90e8\u80fd\u8bbf\u95ee\u5230<code>Elasticsearch<\/code>\uff0c\u9700\u8981\u914d\u7f6e\u76d1\u542c<code>IP<\/code>\uff0c\u9ed8\u8ba4\u53ea\u80fd\u672c\u673a\u8bbf\u95ee<\/p>\n<pre><code class=\"language-yml\">network.host: 0.0.0.0<\/code><\/pre>\n<p>\u4e0b\u9762\u7684\u4fe1\u606f\u53ef\u4ee5\u8bb0\u5f55\u4e0b\u6765\u540e\u9762\u4f7f\u7528\uff0c\u5305\u542b\u7528\u6237\u4fe1\u606f\uff0c<code>Token<\/code>\u7b49\uff0c\u672c\u5730\u5982\u679c\u5220\u9664<code>data<\/code>\u76ee\u5f55\uff0c\u91cd\u65b0\u542f\u52a8\u4f1a\u6709\u65b0\u7684\u751f\u6210\u3002<\/p>\n<blockquote>\n<p>-&gt; Elasticsearch security features have been automatically configured!<br \/>\n-&gt; Authentication is enabled and cluster connections are encrypted.<\/p>\n<p>-&gt;  Password for the elastic user (reset with <code>bin\/elasticsearch-reset-password -u elastic<\/code>):<br \/>\n=1WTz10-uoo65zP0qDkP<\/p>\n<p>-&gt;  HTTP CA certificate SHA-256 fingerprint:<br \/>\n2395cdb0521b9832270c3ce4c14cb39ae1ccae9ae7e3a34394dccbbe8487c58e<\/p>\n<p>-&gt;  Configure Kibana to use this cluster:<\/p>\n<ul>\n<li>Run Kibana and click the configuration link in the terminal when Kibana starts.\n<ul>\n<li>Copy the following enrollment token and paste it into Kibana in your browser (valid for the next 30 minutes):<br \/>\neyJ2ZXIiOiI4LjUuMiIsImFkciI6WyIxMC4xODEuMy4xNTI6OTIwMCJdLCJmZ3IiOiIyMzk1Y2RiMDUyMWI5ODMyMjcwYzNjZTRjMTRjYjM5YWUxY2NhZTlhZTdlM2EzNDM5NGRjY2JiZTg0ODdjNThlIiwia2<br \/>\nl0dHlUQTJYUnpqeTR0czM0dyJ9<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>-&gt;  Configure other nodes to join this cluster:<\/p>\n<ul>\n<li>On this node:\n<ul>\n<li>Create an enrollment token with <code>bin\/elasticsearch-create-enrollment-token -s node<\/code>.<\/li>\n<li>Uncomment the transport.host setting at the end of config\/elasticsearch.yml.<\/li>\n<li>Restart Elasticsearch.<\/li>\n<\/ul>\n<\/li>\n<li>On other nodes:\n<ul>\n<li>Start Elasticsearch with <code>bin\/elasticsearch --enrollment-token &lt;token&gt;<\/code>, using the enrollment token that you generated.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<\/blockquote>\n<p>\u9ed8\u8ba4\u7684\u8d26\u53f7\u548c\u5bc6\u7801\u5728\u65e5\u5fd7\u4e2d\uff1a<\/p>\n<p>\u7528\u6237\u540d\uff1a<code>elastic<\/code>\uff0c\u5bc6\u7801\uff1a<code>=1WTz10-uoo65zP0qDkP<\/code><\/p>\n<h4>\u6d4f\u89c8\u5668\u8bbf\u95eeES<\/h4>\n<p>\u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1a<a href=\"https:\/\/localhost:9200\">https:\/\/localhost:9200<\/a><\/p>\n<p>\u56e0\u4e3a\u6709\u5b89\u5168\u6027\uff0c\u4f1a\u5f39\u51faBasic\u7684\u8ba4\u8bc1\u7a97\u53e3<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/49143cbc506cd80a652cd51aea099120\/20221213141104.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/49143cbc506cd80a652cd51aea099120\/20221213141104.png\" alt=\"image-20221213141058342\" \/><\/div><\/p>\n<p>\u8f93\u5165\u540e\u53ef\u4ee5\u770b\u5230\u670d\u52a1\u5668\u4fe1\u606f\u7684json\uff0c\u8868\u793a\u5c31\u5bf9\u4e86\uff1a<\/p>\n<pre><code class=\"language-json\">{\n  &quot;name&quot; : &quot;10390-SDIT&quot;,\n  &quot;cluster_name&quot; : &quot;elasticsearch&quot;,\n  &quot;cluster_uuid&quot; : &quot;pmYKiFFBRQGuobOA23iupQ&quot;,\n  &quot;version&quot; : {\n    &quot;number&quot; : &quot;8.5.2&quot;,\n    &quot;build_flavor&quot; : &quot;default&quot;,\n    &quot;build_type&quot; : &quot;zip&quot;,\n    &quot;build_hash&quot; : &quot;a846182fa16b4ebfcc89aa3c11a11fd5adf3de04&quot;,\n    &quot;build_date&quot; : &quot;2022-11-17T18:56:17.538630285Z&quot;,\n    &quot;build_snapshot&quot; : false,\n    &quot;lucene_version&quot; : &quot;9.4.1&quot;,\n    &quot;minimum_wire_compatibility_version&quot; : &quot;7.17.0&quot;,\n    &quot;minimum_index_compatibility_version&quot; : &quot;7.0.0&quot;\n  },\n  &quot;tagline&quot; : &quot;You Know, for Search&quot;\n}<\/code><\/pre>\n<h3>\u4fee\u6539\u5bc6\u7801<\/h3>\n<p>\u6309\u7167\u65e5\u5fd7\u4e2d\u63d0\u793a\uff0c\u53ef\u4ee5\u7528\u547d\u4ee4\u4fee\u6539\u5bc6\u7801\uff0c\u5e94\u8be5\u662f\u8981\u5728\u542f\u52a8\u670d\u52a1\u7684\u60c5\u51b5\u4e0b\u4f7f\u7528\uff1a<\/p>\n<h4>\u6309\u7167\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801<\/h4>\n<p>\u6309\u7167\u7528\u6237\u8bbe\u7f6e\u5bc6\u7801\uff0c<code>elastic<\/code>\u662f\u8d85\u7ea7\u7528\u6237<\/p>\n<p>\u91cd\u7f6e\u5bc6\u7801\uff08\u81ea\u52a8\u751f\u6210\uff09\uff1a<code>elasticsearch-reset-password.bat -u elastic<\/code><\/p>\n<p>\u4fee\u6539\u5bc6\u7801\uff08\u624b\u52a8\u4fee\u6539\uff09\uff1a<code>elasticsearch-reset-password.bat -u elastic -i<\/code><\/p>\n<h4>\u8bbe\u7f6e\u5185\u90e8\u7528\u6237\u5bc6\u7801<\/h4>\n<p>es\u5185\u7f6e\u7528\u6237\u7528\u4e8e\u7279\u5b9a\u7684\u7ba1\u7406\u76ee\u7684\u7528\u6237\uff1aapm_system\u3001beats_system\u3001elastic\u3001kibana\u3001logstash_system \u3001remote_monitoring_user\uff0c\u5728\u4f7f\u7528\u5b83\u4eec\u4e4b\u524d\uff0c\u6211\u4eec\u5fc5\u987b\u4e3a\u5b83\u4eec\u8bbe\u7f6e\u5bc6\u7801\u3002<\/p>\n<p><a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.5\/setup-passwords.html\">https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.5\/setup-passwords.html<\/a><\/p>\n<p><strong>elasticsearch-setup-passwords\u5373\u5c06\u8981\u5e9f\u5f03\uff0c\u4ee5\u540e\u8981\u4f7f\u7528elasticsearch-reset-password\u3001ES\u81ea\u5e26API\u4fee\u6539\u5bc6\u7801\u3001\u6216\u8005\u7528Kibana\u4fee\u6539<\/strong><\/p>\n<p><strong>\u6ce8\u610f\uff1a\u4e00\u65e6\u8bbe\u7f6e\u8fc7elastic\u7528\u6237\u7684\u5bc6\u7801\u4e4b\u540e\uff0c\u8fd9\u79cd\u8bbe\u7f6e\u5185\u90e8\u7528\u6237\u5bc6\u7801\u7684\u529f\u80fd\u5c06\u4e0d\u80fd\u4f7f\u7528\u4e86<\/strong><\/p>\n<p>\u81ea\u52a8\u8bbe\u7f6e\uff1a<code>elasticsearch-setup-passwords.bat auto<\/code><\/p>\n<p>\u624b\u52a8\u8bbe\u7f6e\uff1a<code>elasticsearch-setup-passwords.bat interactive<\/code><\/p>\n<h3>Kibana\u8bbf\u95eeES<\/h3>\n<h4>\u4e0b\u8f7d\u5b89\u88c5<\/h4>\n<p>\u4e0b\u8f7dKibana\uff1a<a href=\"https:\/\/www.elastic.co\/cn\/downloads\/kibana\">https:\/\/www.elastic.co\/cn\/downloads\/kibana<\/a><\/p>\n<p>\u6587\u6863\u5730\u5740\uff1a<a href=\"https:\/\/www.elastic.co\/guide\/en\/kibana\/current\/install.html\">https:\/\/www.elastic.co\/guide\/en\/kibana\/current\/install.html<\/a><\/p>\n<p><strong><code>Kibana<\/code>\u56e0\u4e3a\u4f7f\u7528<code>Node.js<\/code>\u5f00\u53d1\uff0c\u76ee\u524d\u5df2\u7ecf\u4e0d\u80fd\u5728<code>Windows7<\/code>\u4e0a\u8fd0\u884c\uff0c\u653e\u5230\u4e00\u53f0\u66f4\u9ad8\u7248\u672c\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c<code>Windows7<\/code>\u4e0d\u652f\u6301\u9ad8\u7248\u672c\u7684<code>Node.js<\/code><\/strong><\/p>\n<p>\u4fee\u6539<code>kibana.yml<\/code>\uff0c\u914d\u7f6e<code>Elasticsearch<\/code>\u5730\u5740\u7b49\u4fe1\u606f\uff0c\u9700\u8981\u4f7f\u7528<code>kibana<\/code>\u7528\u6237<\/p>\n<pre><code class=\"language-yml\">server.port: 5601\n# \u76d1\u542c\u7aef\u53e3\uff0c\u9ed8\u8ba4\u672c\u673alocalhost\uff0c\u4e0d\u80fd\u901a\u8fc7\u5176\u4ed6\u673a\u5668\u8bbf\u95ee\nserver.host: &quot;0.0.0.0&quot;\n#es\u5730\u5740\nelasticsearch.hosts: [&quot;https:\/\/localhost:9200&quot;]\n# \u7528\u6237\u540d\nelasticsearch.username: &quot;kibana&quot;\n# \u5bc6\u7801\nelasticsearch.password: &quot;12345678&quot;\n# \u8bed\u8a00\ni18n.locale: &quot;zh-CN&quot;\nelasticsearch.ssl.verificationMode: none<\/code><\/pre>\n<p>\u89e3\u538b\u540e\u8fdb\u5165\u6587\u4ef6\u5939\uff0c\u542f\u52a8<code>Kibana<\/code>\uff1a<\/p>\n<p>\u542f\u52a8\uff1a<code>bin\/kibana.bat<\/code><\/p>\n<h4>\u8bbf\u95eeKibana<\/h4>\n<p>\u8bbf\u95ee\u5730\u5740\uff1a<a href=\"http:\/\/localhost:5601\">http:\/\/localhost:5601<\/a><\/p>\n<p>\u76ee\u524d\u6d4b\u8bd5\u7528<code>kibana<\/code>\u7528\u6237\u767b\u5f55\u6ca1\u6709\u6743\u9650\uff0c\u8981\u7528<code>elastic<\/code>\u7528\u6237\u767b\u5f55<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/3e5dd2d3a2f19f721d122c655bdc4958\/20221214101226.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/3e5dd2d3a2f19f721d122c655bdc4958\/20221214101226.png\" alt=\"image-20221214101226541\" \/><\/div><\/p>\n<p>\u767b\u5f55<code>kibana<\/code>\u8d26\u53f7\u6ca1\u6709\u6743\u9650\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/c9185d33198fed2801eb4b7633907f83\/20221214101138.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/c9185d33198fed2801eb4b7633907f83\/20221214101138.png\" alt=\"image-20221214101138636\" \/><\/div><\/p>\n<p>\u767b\u5f55<code>elastic<\/code>\u8d26\u53f7\u6210\u529f\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/7fb5aa020e0e59e60cdf18dc1755355e\/20221214101304.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic\/uploads\/7fb5aa020e0e59e60cdf18dc1755355e\/20221214101304.png\" alt=\"image-20221214101304214\" \/><\/div><\/p>\n<h3>\u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>Windows\u4e0bElasticsearch\u63a7\u5236\u53f0\u4e71\u7801<\/h4>\n<p>\u4fee\u6539<code>config\/jvm.options<\/code>\u6587\u4ef6<\/p>\n<p>\u589e\u52a0\u4e00\u884c\uff1a<code>-Dfile.encoding=GBK<\/code><\/p>\n<h4>Windows7\u4e0d\u652f\u6301Kibana<\/h4>\n<p><code>Windows7<\/code>\u4e0b\u8fd0\u884c\u4f1a\u62a5\u9519\uff0c\u5c31\u7b97\u914d\u7f6e<code>NODE_SKIP_PLATFORM_CHECK=1<\/code>\u4ee5\u540e\u4e5f\u4f1a\u6709\u5176\u4ed6\u9519\u8bef\uff0c\u4f3c\u4e4e\u53ea\u80fd\u7528\u66f4\u9ad8\u7248\u672c\u7684\u7cfb\u7edf\u6765\u8fd0\u884c<code>Kibana<\/code>\uff0c\u6216\u8005\u6362<code>Linux<\/code><\/p>\n<blockquote>\n<p>E:\\New2022\\kibana-8.5.3\\bin&gt;kibana.bat<br \/>\nNode.js is only supported on Windows 8.1, Windows Server 2012 R2, or higher.<br \/>\nSetting the NODE_SKIP_PLATFORM_CHECK environment variable to 1 skips this<br \/>\ncheck, but Node.js might not execute correctly. Any issues encountered on<br \/>\nunsupported platforms will not be fixed.<\/p>\n<\/blockquote>\n<h4>\u4e0d\u80fd\u8bbe\u7f6e\u5185\u90e8\u5bc6\u7801<\/h4>\n<p>\u8bbe\u7f6e\u5185\u90e8\u5bc6\u7801\u65f6\u62a5\u9519\uff0c\u5176\u5b9e\u5c31\u662f\u624b\u52a8\u6216\u8005\u91cd\u7f6e\u8fc7<code>elastic<\/code>\u7684\u5bc6\u7801\u7684\u5c31\u4e0d\u80fd\u5728\u4f7f\u7528\u6b64\u547d\u4ee4<\/p>\n<blockquote>\n<p>E:\\New2022\\elasticsearch-8.5.2\\bin&gt;elasticsearch-setup-passwords.bat interactive<br \/>\nwarning: ignoring JAVA_HOME=C:\\softs\\Java\\jdk11.0.9.1+1; using bundled JDK<\/p>\n<p>Failed to authenticate user 'elastic' against <a href=\"https:\/\/10.181.3.152:9200\/_security\/_authenticate?pretty\">https:\/\/10.181.3.152:9200\/_security\/_authenticate?pretty<\/a><br \/>\nPossible causes include:<\/p>\n<ul>\n<li>The password for the 'elastic' user has already been changed on this cluster<\/li>\n<li>Your elasticsearch node is running against a different keystore<br \/>\nThis tool used the keystore at E:\\New2022\\elasticsearch-8.5.2\\config\\elasticsearch.keystore<\/li>\n<\/ul>\n<p>You can use the <code>elasticsearch-reset-password<\/code> CLI tool to reset the password of the 'elastic' user<\/p>\n<p>ERROR: Failed to verify bootstrap password<\/p>\n<\/blockquote>\n<p>\u5220\u9664<code>\/data<\/code>\u76ee\u5f55\u5e94\u8be5\u53ef\u4ee5\u91cd\u65b0\u8bbe\u7f6e\u3002<\/p>\n<p>\u4e0d\u8fc7\u5efa\u8bae\u7528<code>elasticsearch-reset-password -u kibana -i<\/code>\u7b49\u547d\u4ee4\u66ff\u4ee3\u3002<\/p>\n<p>\u53c2\u8003\u8bf4\u660e\uff1a<a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.5\/setup-passwords.html\">https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/8.5\/setup-passwords.html<\/a><\/p>\n<p><strong>elasticsearch-setup-passwords\u5373\u5c06\u8981\u5e9f\u5f03\uff0c\u4ee5\u540e\u8981\u4f7f\u7528elasticsearch-reset-password\u3001ES\u81ea\u5e26API\u4fee\u6539\u5bc6\u7801\u3001\u6216\u8005\u7528Kibana\u4fee\u6539<\/strong><\/p>\n<h4>Kibana\u542f\u52a8\u9519\u8bef<\/h4>\n<blockquote>\n<p>Unable to retrieve version information from Elasticsearch nodes. self signed certificate in certificate chain<\/p>\n<\/blockquote>\n<p>\u5916\u90e8\u7684<code>Kibana<\/code>\u8bbf\u95ee\u53ef\u80fd\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\uff0c\u5e94\u8be5\u8bc1\u4e66\u9a8c\u8bc1\u95ee\u9898\u3002<\/p>\n<p>\u914d\u7f6e<code>kibana.yml<\/code>\u4e2d\u7684\uff0c\u4e0d\u9a8c\u8bc1<code>ssl<\/code>\u8bc1\u4e66\uff1a<\/p>\n<pre><code class=\"language-yml\">elasticsearch.ssl.verificationMode: none<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Elasticsearch\u662f\u5f00\u6e90\u7684\u641c\u7d22\u5f15\u64ce\uff0c\u57fa\u4e8eLucence\u5f00\u53d1\uff0c\u5c5e\u4e8eELK\u5957\u4ef6\u4e2d\u7684\u4e00\u5458\u3002ELK=Elast [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/412"}],"collection":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=412"}],"version-history":[{"count":3,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions"}],"predecessor-version":[{"id":415,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/412\/revisions\/415"}],"wp:attachment":[{"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}