{"id":86249,"date":"2020-05-13T13:44:17","date_gmt":"2020-05-13T05:44:17","guid":{"rendered":"http:\/\/4563.org\/?p=86249"},"modified":"2020-05-13T13:44:17","modified_gmt":"2020-05-13T05:44:17","slug":"%e5%9c%a8-kibana-%e4%b8%ad%e6%9f%a5%e7%9c%8b-elasticsearch-%e5%af%bc%e5%85%a5%e7%9a%84-logs","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=86249","title":{"rendered":"\u5728 Kibana \u4e2d\u67e5\u770b Elasticsearch \u5bfc\u5165\u7684 logs"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5728 Kibana \u4e2d\u67e5\u770b Elasticsearch \u5bfc\u5165\u7684 logs               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : kalok <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u5404\u4f4d\u5927\u4f6c\uff0c\u6253\u6270\u4e86\u3002\u6211\u7684\u5c0f\u7ec4\u6b63\u5728\u67b6\u6784 AWS \u3002\u73b0\u5728\u9047\u5230\u4e86\u96be\u9898\uff0c\u6211\u4eec\u4ece Cloudwatch \u5bfc\u5165\u65e5\u5fd7\u5230 Elasticsearch \u4e4b\u540e\uff0c\u5728 Kibana \u4e2d\u65e0\u6cd5\u67e5\u770b\u5230\u65e5\u5fd7\u7684\u6570\u636e\u3002\u6211\u6000\u7591\u662f Index Pattern \u7684\u95ee\u9898\uff0c\u4e0d\u77e5\u9053 Index Pattern \u5e94\u8be5\u5982\u4f55\u8bbe\u7f6e\uff1f \u53e6\u5916\u5982\u679c\u6709\u5927\u4f6c\u5728\u6df1\u5733\u5e76\u4e14 AWS \u67b6\u6784\u7ecf\u9a8c\u4e30\u5bcc\u7684\u8bdd\uff0c\u4e5f\u8bf7\u8054\u7cfb\u672c\u4eba\u3002\u6211\u4eec\u53ef\u4ee5\u4ed8\u8d39\u54a8\u8be2\uff0c\u8bf7\u60a8\u89e3\u51b3\u6211\u4eec\u5728\u67b6\u6784\u4e2d\u9047\u5230\u7684\u9ebb\u70e6\u3002\u8c22\u8c22\u3002 Email: [email&#160;protected]<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1484948\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : binary2010 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ES \u6709\u6570\u636e\uff1f kibana \u7d22\u5f15\u6a21\u5f0f\u754c\u9762\u5c31\u53ef\u4ee5\u521b\u5efa                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484949\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : so1n <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u67e5\u4ee5\u4e0b ES \u6709\u6ca1\u6709\u6570\u636e,\u7d22\u5f15\u662f\u4ec0\u4e48,\u6216\u8005\u5728 kibana \u7684 Stack Monitoring \u67e5\u6709\u591a\u5c11\u4e2a doc.\u5982\u679c\u90fd\u6709\u5c31\u53bb kibana \u7684 Index Patterns \u8bbe\u7f6e,\u7528\u901a\u914d\u7b26\u5c31\u597d\u4e86.\u5982\u679c\u4e0d\u4e86\u89e3 ES \u5efa\u8bae\u5148\u4e86\u89e3\u4e0b,\u518d\u64cd\u4f5c,\u4e0d\u7136\u4ee5\u540e\u4f1a\u56e0\u4e3a\u8fd9\u6bb5\u65f6\u95f4\u7684\u6570\u636e\u8e29\u5f88\u591a\u5751\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484950\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kalok <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c22\u8c22\u5927\u4f6c\u7684\u56de\u8986\uff0c\u6211\u53bb\u8bd5\u8bd5\u3002\u6ca1\u529e\u6cd5\u6211\u4e0d\u662f\u67b6\u6784\u5e08\uff0c\u6211\u53ea\u662f\u4e00\u4e2a\u5b66\u673a\u5668\u5b66\u4e60\u7684\u5e9f\u6750\u3002\u5927\u4f6c\u4eec\u5982\u679c\u5728\u6df1\u5733\u7684\u8bdd\uff0c\u53ef\u4ee5\u5468\u672b\u6307\u5bfc\u6211\u4eec\u4e00\u4e0b\uff0c\u6709\u507f\u6709\u507f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484951\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xuanbg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Kibana \u7684 management \u91cc\u9762\u770b\u4e00\u4e0b Index management \u6709\u6ca1\u6709\u5185\u5bb9\uff0c\u7136\u540e Index Patterns \u8981\u6839\u636e\u65e5\u5fd7\u683c\u5f0f\u7b80\u5355\u8bbe\u7f6e\u4e00\u4e0b\uff0c\u5f88\u7b80\u5355\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : daimaosix <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4ed6\u4eec\u6709\u4e13\u95e8\u7684\u67b6\u6784\u5e08\u2026\u53c8\u4e0d\u8981\u94b1\u7684\uff0c\u8054\u7cfb\u4ed6\u4eec\u9500\u552e\u5c31\u80fd\u7ed9\u4f60\u5b89\u6392\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : defunct9 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5f00 ssh\uff0c\u8ba9\u6211\u4e0a\u53bb\u770b\u770b                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jpuyy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5148\u68c0\u67e5 elasticsearch \u91cc\u7684 index<\/p>\n<p>http:\/\/127.0.0.1:9200\/_cat\/indices | grep foobar<\/p>\n<p>\u5982\u679c\u4f60\u7684 index \u6709\u6570\u636e<\/p>\n<p>\u68c0\u67e5 kibana \u7684\u914d\u7f6e\uff0c\u6709\u4e00\u4e2a kibana.yml \u914d\u7f6e\uff0ckibana \u7684\u914d\u7f6e\u4e5f\u4f1a\u5199\u5230 es<\/p>\n<p>\u5728 kibana \u754c\u9762\u91cc pattern \u641c\u4f60\u7684 index\uff0c\u521b\u5efa index pattern \u770b\u770b\u4f1a\u4e0d\u4f1a\u62a5\u9519                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1484955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : kalok <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8c22\u8c22\u5404\u4f4d\u5927\u4f6c\u7684\u7559\u8a00\uff0c\u539f\u6765\u662f\u6211\u7684 lambda \u6ca1\u8bbe\u7f6e\u597d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 Kibana \u4e2d\u67e5\u770b Elas&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/86249"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=86249"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/86249\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=86249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=86249"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=86249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}