{"id":40630,"date":"2023-05-09T16:26:58","date_gmt":"2023-07-28T04:52:43","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/"},"modified":"2024-04-30T03:20:44","modified_gmt":"2024-04-29T19:20:44","slug":"elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","title":{"rendered":"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09"},"content":{"rendered":"<p>\u5728\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u4e4b\u524d\uff0c\u5148\u91cd\u65b0\u521b\u5efafilebeat\u7684\u7d22\u5f15\u3002<\/p>\n<p>\u5c06Elasticsearch\u5347\u7ea7\u52306.4.x\u7248\u672c\u5e76\u5347\u7ea7\u63d2\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>yum update elasticsearch\r\n\r\n# kuromoji \u66f4\u65b0\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin remove analysis-kuromoji\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install analysis-kuromoji\r\n\r\n# user-agent \u66f4\u65b0 \u203b6.7.0\uff5e\u306f\u4e0d\u5fc5\u8981\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin remove ingest-user-agent\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install ingest-user-agent\r\n\r\n# geoip \u66f4\u65b0\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Yes\/No \u805e\u304b\u308c\u308b\uff09 \u203b6.7.0\uff5e\u306f\u4e0d\u5fc5\u8981\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin remove ingest-geoip\r\nES_JAVA_OPTS=\"-Dhttp.proxyHost=proxy.*****.co.jp -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.*****.co.jp -Dhttps.proxyPort=8080\" \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install ingest-geoip\r\n<\/code><\/pre>\n<p>\u4eceElasticsearch 6.7.0 \u7248\u672c\u5f00\u59cb\uff0c\u9ed8\u8ba4\u5b89\u88c5\u4e86User-Agent\u548cGeoIP\u63d2\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u4e4b\u524d\uff0c\u5148\u91cd\u65b0\u521b\u5efafilebeat\u7684\u7d22\u5f15\u3002 \u5c06Elasticsearch\u5347\u7ea7\u52306.4.x\u7248\u672c\u5e76\u5347\u7ea7 [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40630","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\" \/>\n<meta property=\"og:description\" content=\"\u5728\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u4e4b\u524d\uff0c\u5148\u91cd\u65b0\u521b\u5efafilebeat\u7684\u7d22\u5f15\u3002 \u5c06Elasticsearch\u5347\u7ea7\u52306.4.x\u7248\u672c\u5e76\u5347\u7ea7 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T04:52:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T19:20:44+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u5b87\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u5b87\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\",\"name\":\"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-07-28T04:52:43+00:00\",\"dateModified\":\"2024-04-29T19:20:44+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\",\"name\":\"\u6e05, \u5b87\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u5b87\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\/","og_locale":"zh_CN","og_type":"article","og_title":"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09","og_description":"\u5728\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u4e4b\u524d\uff0c\u5148\u91cd\u65b0\u521b\u5efafilebeat\u7684\u7d22\u5f15\u3002 \u5c06Elasticsearch\u5347\u7ea7\u52306.4.x\u7248\u672c\u5e76\u5347\u7ea7 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-07-28T04:52:43+00:00","article_modified_time":"2024-04-29T19:20:44+00:00","author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/","name":"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-07-28T04:52:43+00:00","dateModified":"2024-04-29T19:20:44+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Elasticsearch\u5347\u7ea7\uff08\u5907\u5fd8\u5f55\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e","name":"\u6e05, \u5b87","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b2016c18459a605fc469c7566608f5686491baa112d0871ee613f61b7210565?s=96&d=mm&r=g","caption":"\u6e05, \u5b87"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyu\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/elasticsearch%e5%8d%87%e7%ba%a7%ef%bc%88%e5%a4%87%e5%bf%98%e5%bd%95%ef%bc%89\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40630","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40630"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40630\/revisions"}],"predecessor-version":[{"id":89372,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40630\/revisions\/89372"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}