{"id":41216,"date":"2023-02-28T16:43:09","date_gmt":"2023-02-19T17:09:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/"},"modified":"2024-04-29T16:44:51","modified_gmt":"2024-04-29T08:44:51","slug":"kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/","title":{"rendered":"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u6700\u8fd1\u6211\u5728\u5b66\u4e60\u56fe\u5f62\u6570\u636e\u5e93\u76f8\u5173\u77e5\u8bc6\uff0c\u6b63\u597d\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u4e86\u89e3\u5230\u4e86Kibana Graph\u7684\u4fe1\u606f\uff0c\u4e8e\u662f\u5c31\u8bd5\u7740\u53bb\u4f7f\u7528\u4e86\u4e00\u4e0b\u3002<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/qiita.com\/nakamura-tsuyoshi\/items\/d284ad1eb7ca848d5d79<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">http:\/\/qiita.com\/nakamura-tsuyoshi\/items\/4a0cbf20ce9ba4c934b9<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">http:\/\/qiita.com\/nakamura-tsuyoshi\/items\/5ae38b04373a224d9a34<\/ul>\n<h1>\u73af\u5883\u51c6\u5907<\/h1>\n<h2>\u5b89\u88c5 Elasticsearch<\/h2>\n<p>\u6211\u4f1a\u50cf\u5f80\u5e38\u4e00\u6837\u4ece\u5b98\u65b9\u7f51\u7ad9\u8f7b\u677e\u5b89\u88c5\u3002<\/p>\n<h3>\u786e\u8ba4\u7248\u672c<\/h3>\n<pre class=\"post-pre\"><code>[root@elastic_test ec2-user]# curl localhost:9200\r\n{\r\n  \"name\" : \"Ord\",\r\n  \"cluster_name\" : \"elasticsearch\",\r\n  \"version\" : {\r\n    \"number\" : \"2.3.2\",\r\n    \"build_hash\" : \"b9e4a6acad4008027e4038f6abed7f7dba346f94\",\r\n    \"build_timestamp\" : \"2016-04-21T16:03:47Z\",\r\n    \"build_snapshot\" : false,\r\n    \"lucene_version\" : \"5.5.0\"\r\n  },\r\n  \"tagline\" : \"You Know, for Search\"\r\n}\r\n<\/code><\/pre>\n<h2>\u63a5\u7740\u8fdb\u884cKibana\u7684\u5b89\u88c5\u3002<\/h2>\n<p>\u53ea\u9700\u4ece\u5b98\u65b9\u7f51\u7ad9\u8f7b\u677e\u5b89\u88c5\u5373\u53ef<br \/>\n\u8bbf\u95eehttp:\/\/ip:5601\/\u5373\u53ef\u67e5\u770b\u5c4f\u5e55\u3002<\/p>\n<h2>\u6211\u8a66\u8457\u5c07\u5716\u8868\u653e\u9032\u53bb\u770b\u770b\u3002<\/h2>\n<p>\u9700\u8981\u5728Elasticsearch\u548cKibana\u4e24\u4e2a\u65b9\u9762\u90fd\u5b89\u88c5\u63d2\u4ef6\uff0c\u53c2\u8003\u4ee5\u4e0b\u516c\u5f0f\u3002<\/p>\n<h3>\u5b89\u88c5Elasticsearch\u7684\u63d2\u4ef6\u3002<\/h3>\n<h4>\u5c06\u8bb8\u53ef\u8bc1\u5b89\u88c5\u5165\u53bb\u3002<\/h4>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# \/usr\/share\/elasticsearch\/bin\/plugin install license\r\n-&gt; Installing license...\r\nTrying https:\/\/download.elastic.co\/elasticsearch\/release\/org\/elasticsearch\/plugin\/license\/2.3.2\/license-2.3.2.zip ...\r\nDownloading .......DONE\r\nVerifying https:\/\/download.elastic.co\/elasticsearch\/release\/org\/elasticsearch\/plugin\/license\/2.3.2\/license-2.3.2.zip checksums if available ...\r\nDownloading .DONE\r\nInstalled license into \/usr\/share\/elasticsearch\/plugins\/license\r\n<\/code><\/pre>\n<h4>\u5b89\u88c5\u56fe\u5f62\u63d2\u4ef6<\/h4>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# \/usr\/share\/elasticsearch\/bin\/plugin install graph\r\n-&gt; Installing graph...\r\nTrying https:\/\/download.elastic.co\/elasticsearch\/release\/org\/elasticsearch\/plugin\/graph\/2.3.2\/graph-2.3.2.zip ...\r\nDownloading ....DONE\r\nVerifying https:\/\/download.elastic.co\/elasticsearch\/release\/org\/elasticsearch\/plugin\/graph\/2.3.2\/graph-2.3.2.zip checksums if available ...\r\nDownloading .DONE\r\nInstalled graph into \/usr\/share\/elasticsearch\/plugins\/graph\r\n<\/code><\/pre>\n<h3>\u5b89\u88c5Kibana\u7684\u63d2\u4ef6\u3002<\/h3>\n<h4>\u628a\u56fe\u8868\u653e\u8fdb\u53bb<\/h4>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# \/opt\/kibana\/bin\/kibana plugin --install elasticsearch\/graph\/latest\r\nInstalling graph\r\nAttempting to transfer from https:\/\/download.elastic.co\/elasticsearch\/graph\/graph-latest.tar.gz\r\nTransferring 69265 bytes....................\r\nTransfer complete\r\nExtracting plugin archive\r\nExtraction complete\r\nOptimizing and caching browser bundles...\r\nPlugin installation complete\r\n<\/code><\/pre>\n<h4>\u91cd\u65b0\u542f\u52a8Kibana<\/h4>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# \/etc\/init.d\/kibana restart\r\nkibana stopped.\r\nkibana started\r\n<\/code><\/pre>\n<h2>\u8bf7\u786e\u8ba4\u5728\u6d4f\u89c8\u5668\u4e2d\u662f\u5426\u5df2\u5b89\u88c5\u3002<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/23-1.png\" alt=\"Kibana.png\" \/><\/div>\n<h1>\u521b\u5efa\u6837\u672c\u6570\u636e<\/h1>\n<h2>\u6570\u636e\u7ed3\u6784<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/26-0.png\" alt=\"20f31aeb-d47f-1d5c-d485-99b2b2c47f9a.png\" \/><\/div>\n<ul class=\"post-ul\">\u5e97\u5b50\u304c\u8907\u6570\u3042\u308b\u30b7\u30e7\u30c3\u30d7\u306e\u30e6\u30fc\u30b6\u306e\u8cfc\u5165\u30c7\u30fc\u30bf\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u305b\u308b<\/ul>\n<h2>\u5728Elasticsearch\u4e2d\u521b\u5efa\u6a21\u677f\u3002<\/h2>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -XPUT localhost:9200\/_template\/moall -d '\r\n&gt; {\r\n&gt;   \"order\": 0,\r\n&gt;   \"template\": \"moall-*\",\r\n&gt;   \"settings\": {\r\n&gt;     \"index\": {\r\n&gt;       \"number_of_shards\": \"1\",\r\n&gt;       \"number_of_replicas\": \"0\"\r\n&gt;     }\r\n&gt;   },\r\n&gt;   \"mappings\": {\r\n&gt;     \"moall\": {\r\n&gt;       \"_source\": {\r\n&gt;         \"enabled\": true\r\n&gt;       },\r\n&gt;       \"properties\": {\r\n&gt;         \"order_time\": {\r\n&gt;           \"format\": \"YYYY-MM-dd HH:mm:ss\",\r\n&gt;           \"type\": \"date\"\r\n&gt;         },\r\n&gt;         \"price\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"user_id\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"user_name\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"string\"\r\n&gt;         },\r\n&gt;         \"user_gender\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"string\"\r\n&gt;         },\r\n&gt;         \"user_age\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"item_id\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"item_name\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"string\"\r\n&gt;         },\r\n&gt;         \"shop_id\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"shop_name\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"string\"\r\n&gt;         },\r\n&gt;         \"category_id\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"integer\"\r\n&gt;         },\r\n&gt;         \"category_name\": {\r\n&gt;           \"index\": \"not_analyzed\",\r\n&gt;           \"type\": \"string\"\r\n&gt;         }\r\n&gt;       }\r\n&gt;     }\r\n&gt;   },\r\n&gt;   \"aliases\": {\r\n&gt;\r\n&gt;   }\r\n&gt; }'\r\n{\"acknowledged\":true}\r\n<\/code><\/pre>\n<h2>\u5c06\u6570\u636e\u8f93\u5165<\/h2>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/1  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-04-02 22:22:22\",\r\n&gt;     \"price\": 9500,\r\n&gt;     \"user_id\": 1,\r\n&gt;     \"user_name\": \"user_name1\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 37,\r\n&gt;     \"item_id\": 1,\r\n&gt;     \"item_name\": \"\u5546\u54c1A\",\r\n&gt;     \"shop_id\": 1,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7A\",\r\n&gt;     \"category_id\": 1,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea1\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"1\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/2  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-04-03 11:21:11\",\r\n&gt;     \"price\": 1000,\r\n&gt;     \"user_id\": 2,\r\n&gt;     \"user_name\": \"user_name2\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 17,\r\n&gt;     \"item_id\": 1,\r\n&gt;     \"item_name\": \"\u5546\u54c1A\",\r\n&gt;     \"shop_id\": 1,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7A\",\r\n&gt;     \"category_id\": 1,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea1\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"2\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/3  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-04-04 09:45:20\",\r\n&gt;     \"price\": 1200,\r\n&gt;     \"user_id\": 3,\r\n&gt;     \"user_name\": \"user_name3\",\r\n&gt;     \"user_gender\": \"female\",\r\n&gt;     \"user_age\": 27,\r\n&gt;     \"item_id\": 2,\r\n&gt;     \"item_name\": \"\u5546\u54c1B\",\r\n&gt;     \"shop_id\": 1,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7A\",\r\n&gt;     \"category_id\": 1,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea1\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"3\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/4  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-04-05 10:18:22\",\r\n&gt;     \"price\": 15000,\r\n&gt;     \"user_id\": 4,\r\n&gt;     \"user_name\": \"user_name4\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 44,\r\n&gt;     \"item_id\": 3,\r\n&gt;     \"item_name\": \"\u5546\u54c1C\",\r\n&gt;     \"shop_id\": 2,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7B\",\r\n&gt;     \"category_id\": 1,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea1\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"4\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/5  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-03-22 10:18:22\",\r\n&gt;     \"price\": 2000,\r\n&gt;     \"user_id\": 1,\r\n&gt;     \"user_name\": \"user_name1\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 37,\r\n&gt;     \"item_id\": 4,\r\n&gt;     \"item_name\": \"\u5546\u54c1D\",\r\n&gt;     \"shop_id\": 3,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7C\",\r\n&gt;     \"category_id\": 2,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea2\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"5\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/6  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-02-11 10:18:22\",\r\n&gt;     \"price\": 4000,\r\n&gt;     \"user_id\": 2,\r\n&gt;     \"user_name\": \"user_name2\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 17,\r\n&gt;     \"item_id\": 4,\r\n&gt;     \"item_name\": \"\u5546\u54c1D\",\r\n&gt;     \"shop_id\": 3,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7C\",\r\n&gt;     \"category_id\": 2,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea2\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"6\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>[root@elastic_test ~]# curl -X POST http:\/\/localhost:9200\/moall-201604\/moall\/7  -d '\r\n&gt; {\r\n&gt;     \"order_time\" : \"2016-03-25 10:18:22\",\r\n&gt;     \"price\": 5000,\r\n&gt;     \"user_id\": 1,\r\n&gt;     \"user_name\": \"user_name1\",\r\n&gt;     \"user_gender\": \"male\",\r\n&gt;     \"user_age\": 37,\r\n&gt;     \"item_id\": 5,\r\n&gt;     \"item_name\": \"\u5546\u54c1E\",\r\n&gt;     \"shop_id\": 3,\r\n&gt;     \"shop_name\": \"\u30b7\u30e7\u30c3\u30d7C\",\r\n&gt;     \"category_id\": 2,\r\n&gt;     \"category_name\": \"\u30ab\u30c6\u30b4\u30ea2\"\r\n&gt; }'\r\n{\"_index\":\"moall-201604\",\"_type\":\"moall\",\"_id\":\"7\",\"_version\":1,\"_shards\":{\"total\":1,\"successful\":1,\"failed\":0},\"created\":true}\r\n<\/code><\/pre>\n<h1>\u4f7f\u7528 Kibana \u7684\u56fe\u8868\u6765\u786e\u8ba4<\/h1>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/39-0.png\" alt=\"Kibana-1.png\" \/><\/div>\n<ul class=\"post-ul\">\u8cfc\u5165\u30e6\u30fc\u30b6\u3068\u5546\u54c1\u3092\u8868\u793a\u3055\u305b\u305f<\/ul>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/41-0.png\" alt=\"Kibana-2.png\" \/><\/div>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u8cfc\u5165\u30e6\u30fc\u30b6\u3068\u5546\u54c1\u3068\u30b7\u30e7\u30c3\u30d7\u3092\u8868\u793a\u3055\u305b\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">user_name1\u306f\u30b7\u30e7\u30c3\u30d7C\u3067\uff12\u56de\u8cfc\u5165\u3057\u3066\u3044\u308b\u305f\u3081\u30e9\u30a4\u30f3\u304c\u592a\u304f\u8868\u73fe\u3055\u308c\u3066\u3044\u308b<\/ul>\n<h2>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4e2d\u56fd\u8a9e\u3067\u8a00\u3044\u63db\u3048\u307e\u3059\uff1a<\/h2>\n<p>\u76ee\u524d\u6b63\u5728\u8fdb\u884c\u4e2d\u7684\u8bf7\u6c42\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/44-0.png\" alt=\"Kibana-4.png\" \/><\/div>\n<h1>\u6709\u5173\u4e00\u4e9b\u5361\u4f4f\u7684\u91cd\u70b9\u6216\u5907\u5fd8\u5f55<\/h1>\n<h2>\u7531\u4e8e\u6837\u672c\u6570\u636e\u592a\u5c11\uff0c\u5982\u679c\u4e0d\u66f4\u6539\u8bbe\u5b9a\u503c\uff0c\u56fe\u8868\u5c06\u65e0\u6cd5\u663e\u793a\u51fa\u6765\u3002<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/47-0.png\" alt=\"Kibana-3.png\" \/><\/div>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">significant\u8a2d\u5b9a\u3092\u5916\u3057\u305f\u3002\u591a\u304f\u4f7f\u308f\u308c\u3066\u308b\u91cd\u8981\u8a9e\u3092\u62bd\u51fa\u3057\u3066\u304f\u308c\u308b\u7684\u306a\u6a5f\u80fd\u3002\u8a73\u3057\u3044\u8aac\u660e\u306f\u4e0b\u8a18\u3042\u305f\u308a\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>https:\/\/www.elastic.co\/guide\/en\/graph\/current\/graph-api-rest.html#api-rest-graph-explore<br \/>\nhttps:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/search-aggregations-bucket-significantterms-aggregation.html<\/p>\n<p>Certainty\u30921\u306b\u8a2d\u5b9a\u3057\u305f<\/p>\n<h2>\u65e0\u6cd5\u540c\u65f6\u6307\u5b9a\u591a\u4e2a\u4e0d\u540c\u7684\u7d22\u5f15\u3002<\/h2>\n<ul class=\"post-ul\">\u8cfc\u5165\u30c7\u30fc\u30bf\u306b\u95a2\u3057\u3066\u306e\u30b0\u30e9\u30d5\u3068user\u3069\u3046\u3057\u306e\u3064\u306a\u304c\u308a\u306e\u30b0\u30e9\u30d5\u3092\u4e00\u7dd2\u306b\u89b3\u3066\u307f\u308b\u7684\u306a\u3053\u3068\u304c\u7121\u7406\uff1f\u307f\u305f\u3044\u3067\u3059<\/ul>\n<h2>\u65e0\u6cd5\u4ee5\u597d\u7684\u65b9\u5f0f\u79fb\u52a8\u51fa\u73b0\u7684\u56fe\u8868\u3002<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u30af\u30ea\u30c3\u30af\u3057\u3066\u30c9\u30e9\u30c3\u30b0\u3057\u3066\u3053\u306e\u30a2\u30a4\u30c6\u30e0\u306f\u3053\u306e\u30b9\u30da\u30fc\u30b9\u306b\u6301\u3063\u3066\u304d\u3066\u3001\u30fb\u30fb\u30fb\u7684\u306a\u64cd\u4f5c\u306f\u3067\u304d\u306a\u304b\u3063\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u62e1\u5927\u3001\u7e2e\u5c0f\u3001\u79fb\u52d5\u306f\u3067\u304d\u305f\u3051\u3069<\/ul>\n<h2>\u5728\u4e2d\u56fd\u8bed\u8a00\u4e2d\uff0c\u65e0\u6cd5\u4e3a\u7269\u54c1\u548c\u7269\u54c1\u4e4b\u95f4\u7684\u8fde\u7ed3\u8d4b\u4e88\u79cd\u7c7b\u3002<\/h2>\n<ul class=\"post-ul\">\u4f8b\u3048\u3070\u30b0\u30e9\u30d5DB\u3060\u3068relations\u3092\u4f5c\u308b\u969b\u306bfrends\u3092\u8868\u3059relation\u3068\u8eab\u5185\u3092\u8868\u3059relation\u3092\u5206\u3051\u3066\u8cbc\u308c\u305f\u308a\u3059\u308b\u3051\u3069\u3001\u305d\u308c\u7cfb\u306e\u3082\u306e\u304c\u3067\u304d\u306a\u304b\u3063\u305f<\/ul>\n<h2>\u5bfc\u5165\u975e\u5e38\u5bb9\u6613<\/h2>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3059\u3067\u306b\u4f55\u304b\u306e\u30c7\u30fc\u30bf\u3092elasticsearch\u306b\u5165\u308c\u3066\u904b\u7528\u3057\u3066\u3044\u308c\u3070\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3068\u308a\u3042\u3048\u305a\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308c\u3070\u4f7f\u3048\u308b\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u65b0\u305f\u306a\u8996\u70b9\u3067\u306e\u30c7\u30fc\u30bf\u306e\u898b\u3048\u308b\u5316\u304c\u3067\u304d\u3066\u826f\u3055\u305d\u3046<\/ul>\n<\/li>\n<\/ul>\n<p>\u793e\u5185\u30c4\u30fc\u30eb\u5411\u304d\u304b\u306a<\/p>\n<h2>\u4ec5\u4ec5\u91cd\u542fKibana\u662f\u4e0d\u591f\u7684\uff0c\u8fd8\u9700\u8981\u91cd\u542felasticsearch\u3002<\/h2>\n<p>\u5982\u679c\u4e0d\u91cd\u65b0\u542f\u52a8\uff0c\u4f1a\u4ea7\u751f\u4ee5\u4e0b\u8fd9\u6837\u7684\u9519\u8bef\u3002<\/p>\n<pre class=\"post-pre\"><code>[2016-05-05 09:26:21,130][DEBUG][action.admin.indices.mapping.put] [Ord] failed to put mappings on indices [[moall-201604]], type [_graph]\r\nInvalidTypeNameException[Document mapping type name can't start with '_']\r\n    at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:288)\r\n    at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:230)\r\n    at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)\r\n    at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)\r\n    at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)\r\n    at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)\r\n    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n    at java.lang.Thread.run(Thread.java:745)\r\n<\/code><\/pre>\n<h1>\u6700\u540e<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u4f55\u3068\u8a00\u3063\u3066\u3082\u5c0e\u5165\u304c\u697d\u306a\u306e\u3067\u65e2\u5b58\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u8a66\u3057\u3066\u307f\u3066\u3001\u53ef\u8996\u5316\u3055\u305b\u3066\u307f\u305f\u3089\u3042\u305f\u3089\u3057\u3044\u30c7\u30fc\u30bf\u7684\u306a\u7279\u5fb4\u304c\u898b\u3064\u304b\u308b\u304b\u3082\u306a\u3041\u3068\u601d\u3063\u305f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">30\u65e5\u9593\u306f\u7121\u6599\u307f\u305f\u3044\u3060\u304c\u3001\u305d\u308c\u4ee5\u964d\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u5951\u7d04\u304c\u5fc5\u8981\u3002\u3069\u306e\u7a0b\u5ea6\u8cbb\u7528\u304b\u304b\u308b\u304b\u5c11\u3057\u63a2\u3057\u3066\u307f\u305f\u3051\u3069\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u307e\u3041\u3082\u306e\u304c\u5168\u7136\u9055\u3046\u306e\u3067GraphDB\u3068\u6bd4\u8f03\u307f\u305f\u3044\u306a\u8996\u70b9\u306f\u3042\u307e\u308a\u610f\u5473\u304c\u306a\u3044\u3068\u601d\u3063\u305f<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u6700\u8fd1\u6211\u5728\u5b66\u4e60\u56fe\u5f62\u6570\u636e\u5e93\u76f8\u5173\u77e5\u8bc6\uff0c\u6b63\u597d\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u4e86\u89e3\u5230\u4e86Kibana Graph\u7684\u4fe1\u606f\uff0c\u4e8e\u662f\u5c31\u8bd5\u7740\u53bb\u4f7f\u7528 [&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-41216","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>Kibana Graph\u7684\u521d\u6b65\u5370\u8c61 - 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\/kibana-graph\u7684\u521d\u6b65\u5370\u8c61\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u6700\u8fd1\u6211\u5728\u5b66\u4e60\u56fe\u5f62\u6570\u636e\u5e93\u76f8\u5173\u77e5\u8bc6\uff0c\u6b63\u597d\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u4e86\u89e3\u5230\u4e86Kibana Graph\u7684\u4fe1\u606f\uff0c\u4e8e\u662f\u5c31\u8bd5\u7740\u53bb\u4f7f\u7528 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph\u7684\u521d\u6b65\u5370\u8c61\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-19T17:09:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T08:44:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/23-1.png\" \/>\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=\"5 \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\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/\",\"name\":\"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-19T17:09:46+00:00\",\"dateModified\":\"2024-04-29T08:44:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61\"}]},{\"@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\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61 - 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\/kibana-graph\u7684\u521d\u6b65\u5370\u8c61\/","og_locale":"zh_CN","og_type":"article","og_title":"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61","og_description":"\u9996\u5148 \u6700\u8fd1\u6211\u5728\u5b66\u4e60\u56fe\u5f62\u6570\u636e\u5e93\u76f8\u5173\u77e5\u8bc6\uff0c\u6b63\u597d\u5728\u8fd9\u4e2a\u8fc7\u7a0b\u4e2d\u4e86\u89e3\u5230\u4e86Kibana Graph\u7684\u4fe1\u606f\uff0c\u4e8e\u662f\u5c31\u8bd5\u7740\u53bb\u4f7f\u7528 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph\u7684\u521d\u6b65\u5370\u8c61\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-19T17:09:46+00:00","article_modified_time":"2024-04-29T08:44:51+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d458637434c4406ca2ca1\/23-1.png"}],"author":"\u6e05, \u5b87","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u5b87","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/","name":"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-19T17:09:46+00:00","dateModified":"2024-04-29T08:44:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/1a6ecd3d914d22a5ac32791ffc1fbd8e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"Kibana Graph\u7684\u521d\u6b65\u5370\u8c61"}]},{"@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\/kibana-graph%e7%9a%84%e5%88%9d%e6%ad%a5%e5%8d%b0%e8%b1%a1\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41216","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=41216"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41216\/revisions"}],"predecessor-version":[{"id":86441,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41216\/revisions\/86441"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}