{"id":1052,"date":"2017-02-09T16:11:41","date_gmt":"2017-02-09T08:11:41","guid":{"rendered":"http:\/\/www.xttblog.com\/?p=1052"},"modified":"2017-02-09T16:11:41","modified_gmt":"2017-02-09T08:11:41","slug":"%e4%bd%bf%e7%94%a8%e9%98%bf%e9%87%8c%e4%ba%91%e6%97%a5%e5%bf%97%e6%9c%8d%e5%8a%a1%e6%9d%a5%e5%88%86%e6%9e%90%e6%97%a5%e5%bf%97","status":"publish","type":"post","link":"https:\/\/www.xttblog.com\/?p=1052","title":{"rendered":"\u4f7f\u7528\u963f\u91cc\u4e91\u65e5\u5fd7\u670d\u52a1\u6765\u5206\u6790\u65e5\u5fd7"},"content":{"rendered":"<p>\n\t\u5728\u4f7f\u7528\u963f\u91cc\u4e91\u7684\u65e5\u5fd7\u670d\u52a1\u4e4b\u524d\uff0c\u6211\u5206\u6790\u65e5\u5fd7\u7684\u65b9\u6cd5\u662f\u8fd9\u6837\u5a76\u513f\u7684\uff0c\u5982\u4e0b\u56fe\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u65e5\u5fd7\u5206\u6790\" src=\"http:\/\/img.blog.csdn.net\/20170209113034844\" style=\"width: 527px;height: 322px\" \/>\n<\/p>\n<p>\n\t\u901a\u8fc7rsyslog\u628a\u670d\u52a1\u5668\u4e0a\u7684\u65e5\u5fd7\u6c47\u603b\u5230\u53e6\u5916\u4e00\u53f0\u673a\u5668\u4e0a\uff0c\u7136\u540e\u4f7f\u7528\u811a\u672c\u6765\u5904\u7406\u6587\u672c\uff0c\u83b7\u53d6\u6240\u9700\u7684\u6570\u636e\u3002&nbsp;<br \/>\n\t\u8fd9\u79cd\u65b9\u5f0f\u5728\u65e5\u5fd7\u5206\u6790\u4e0a\u6548\u7387\u633a\u4f4e\u7684\uff0c\u8fd8\u8981\u8017\u8d39\u7ecf\u5386\u53bb\u7ef4\u62a4rsyslog\u670d\u52a1\u3002\n<\/p>\n<p>\n\t\u81ea\u4ece\u4f7f\u7528\u4e86\u963f\u91cc\u4e91\u7684\u65e5\u5fd7\u670d\u52a1\u540e\u5c31\u7701\u5fc3\u591a\u4e86\u3002\u501f\u52a9\u963f\u91cc\u4e91\u7684\u65e5\u5fd7\u670d\u52a1\u6784\u9020\u51fa\u6765\u7684\u4e00\u6574\u5957\u65e5\u5fd7\u5206\u6790\u7cfb\u7edf\u662f\u8fd9\u6837\u5a76\u513f\u7684\uff0c\u5982\u4e0b\u56fe\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u5927\u578b\u7f51\u7ad9\u65e5\u5fd7\u67b6\u6784\" src=\"http:\/\/img.blog.csdn.net\/20170209113550502\" style=\"width: 641px;height: 475px\" \/>\n<\/p>\n<p>\n\t\u8fd9\u91cc\u4e3b\u8981\u7528\u5230\u963f\u91cc\u4e91\u7684\u4e09\u4e2a\u670d\u52a1\uff0c\u4e0b\u9762\u6765\u6328\u4e2a\u4ecb\u7ecd\u4e00\u4e0b\u6211\u662f\u600e\u4e48\u4f7f\u7528\u7684\u3002\n<\/p>\n<h2>\n\t\u65e5\u5fd7\u670d\u52a1\uff08Log Service\uff0c\u7b80\u79f0Log\uff09<br \/>\n<\/h2>\n<p>\n\t\u8fd9\u4e2a\u662f\u6574\u4e2a\u67b6\u6784\u7684\u6838\u5fc3\u70b9\uff0c\u6211\u76ee\u524d\u4e3b\u8981\u7528\u5b83\u6765\u5b9e\u73b0\u7684\u662f\u65e5\u5fd7\u91c7\u96c6\u3001\u65e5\u5fd7\u6295\u9012\u4ee5\u53ca\u65e5\u5fd7\u67e5\u8be2\u5206\u6790\u3002&nbsp;<br \/>\n\t<span style=\"color:#FF0000\"><strong>1. \u65e5\u5fd7\u91c7\u96c6<\/strong><\/span>&nbsp;<br \/>\n\t\u76ee\u524d\u662f\u5728\u6bcf\u53f0\u673a\u5668\u4e0a\u5b89\u88c5logtail Agent\uff0c\u6765\u91c7\u96c6\u65e5\u5fd7\u3002\u5728ECS\u4e0a\u76f4\u63a5\u4e09\u6761\u547d\u4ee4\u5c31\u5b89\u88c5\u4e86\uff0c\u4e0d\u9700\u8981\u505a\u4efb\u4f55\u7684\u914d\u7f6e\u5c31\u53ef\u4ee5\u4f7f\u7528\u4e86\uff0c\u975e\u5e38\u7701\u529b\u3002&nbsp;<br \/>\n\t<span style=\"color:#FF0000\"><strong>2. \u65e5\u5fd7\u6295\u9012<\/strong><\/span>&nbsp;<br \/>\n\t\u5982\u4e0a\u56fe\u6240\u793a\uff0c\u53ef\u4ee5\u628a\u91c7\u96c6\u5f3a\u8c03\u6587\u5b57\u540e\u7684\u65e5\u5fd7\u6295\u9012\u5230OSS\u548cODPS\u4e2d\uff0c\u8fd9\u4e2a\u7a0d\u540e\u518d\u8bf4\u3002&nbsp;<br \/>\n\t<span style=\"color:#FF0000\"><strong>3. \u65e5\u5fd7\u67e5\u8be2\u5206\u6790<\/strong><\/span>&nbsp;<br \/>\n\t\u8fd9\u91cc\u662f\u501f\u52a9\u4e8e\u65e5\u5fd7\u670d\u52a1\u4e2d\u7684\u65e5\u5fd7\u7d22\u5f15\u529f\u80fd\uff0c\u901a\u8fc7\u63a7\u5236\u53f0\u6765\u67e5\u8be2\u65e5\u5fd7\uff0c\u6211\u4e00\u822c\u662f\u7528\u8fd9\u4e2a\u6765\u8ddf\u8e2a\u4e00\u4e9b\u7528\u6237\u7684\u8bbf\u95ee\u884c\u4e3a\uff0c\u8fd9\u91cc\u67e5\u8be2\u901f\u5ea6\u662f\u975e\u5e38\u5feb\u7684\uff0c\u57fa\u672c\u4e0a\u90fd\u662f\u4e00\u79d2\u949f\u5185\u51fa\u7ed3\u679c\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"\u963f\u91cc\u4e91\u65e5\u5fd7\u5206\u6790\" src=\"http:\/\/img.blog.csdn.net\/20170209113638753\" style=\"width: 1287px;height: 593px\" \/>\n<\/p>\n<p>\n\t\u5f53\u7136\u8fd8\u53ef\u4ee5\u6839\u636e\u65e5\u5fd7\u670d\u52a1\u7684API\u6765\u5b9e\u73b0\u66f4\u591a\u7684\u67e5\u8be2\uff0c\u6211\u8fd9\u91cc\u5c31\u5148\u4e0d\u4ecb\u7ecd\u4e86\u3002\n<\/p>\n<h2>\n\tOSS<br \/>\n<\/h2>\n<p>\n\tODPS\u4e2d\u6587\u540d\u79f0\u53eb\u505a\u5927\u6570\u636e\u8ba1\u7b97\u670d\u52a1\uff0c\u4e0d\u8fc7\u521a\u521a\u770b\u4e86\u4e00\u4e0b\u5b83\u7684\u63a7\u5236\u53f0\uff0c\u8fd9\u4e2a\u4ea7\u54c1\u8981\u4e0b\u7ebf\u4e86\uff0c\u53d6\u800c\u4ee3\u4e4b\u7684\u662f\u4e00\u4e2a\u53eb\u6570\u52a0\u7684\u4ea7\u54c1\uff0c\u5176\u5b9e\u5c31\u662f\u518dODPS\u4e2d\u5957\u4e86\u4e00\u5c42\u58f3\uff0c\u7136\u540e\u52a0\u4e86\u989d\u5916\u7684\u4e00\u4e9b\u529f\u80fd\u3002&nbsp;<br \/>\n\t\u6570\u52a0\u8fd9\u4e2a\u4ea7\u54c1\u6682\u65f6\u6211\u8fd8\u6ca1\u5b8c\u5168\u7814\u7a76\u660e\u767d\uff0c\u8fd8\u662f\u63a5\u7740\u8bf4\u4e00\u4e0b\u6211\u6700\u65e9\u4f7f\u7528ODPS\u5206\u6790\u65e5\u5fd7\u7684\u4e8b\u60c5\u5427\u3002&nbsp;<br \/>\n\t\u628a\u65e5\u5fd7\u6295\u9012\u5230ODPS\u4e2d\uff0c\u662f\u4e3a\u4e86\u5b9e\u73b0\u628a\u6570\u636e\u66f4\u52a0\u7edf\u4e00\u7684\u8fdb\u884c\u5206\u6790\uff0c\u51fa\u62a5\u8868\uff0c\u636e\u8bf4\u4f7f\u7528Quick BI\u505a\u62a5\u8868\u662f\u975e\u5e38\u5bb9\u6613\u7684\uff0c\u4e0d\u8fc7\u8bf4\u6765\u60ed\u6127\u6211\u4e00\u76f4\u90fd\u662f\u62ffODPS\u5355\u7eaf\u7684\u5f53\u4e2a\u6570\u636e\u5e93\u6765\u4f7f\u7528\u7684\uff0c\u8fd8\u6ca1\u6709\u7528\u5230Quick BI\uff08\u4e0d\u8fc7\u6211\u5f53\u65f6\u7528ODPS\u7684\u65f6\u5019\u597d\u50cfQuick Bi\u8fd8\u6ca1\u6709\u5b8c\u5584\u5427\uff0c\u54c8\u54c8\uff09&nbsp;<br \/>\n\t\u8fd9\u91cc\u5c31\u4e3e\u4e00\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\u5427\uff1a&nbsp;<br \/>\n\t\u901a\u8fc7ODPS\u7684API\uff0c\u6765\u7edf\u8ba1\u5468\u671f\u65f6\u95f4\u5185\u8017\u65f6\u6700\u957f\u7684URL\uff0c\u7136\u540e\u751f\u6210\u62a5\u8868\u901a\u8fc7\u90ae\u4ef6\u901a\u77e5\uff08\u81ea\u5df1\u751f\u6210\u7684\u8868\u683c\u786e\u5b9e\u5f88\u4e11\uff09&nbsp;<br \/>\n\t\u6bd4\u5982\u6211\u8fd9\u91cc\u521a\u521a\u7edf\u8ba1\u5230\u4e00\u4e9b\u5904\u7406\u65f6\u95f4\u5c06\u8fd110\u79d2\u7684URL\uff0c\u901a\u8fc7\u6392\u67e5\u53d1\u73b0\u90fd\u662f\u56e0\u4e3a\u8c03\u7528\u4e86\u7b2c\u4e09\u65b9\u7684API\uff0c\u7b2c\u4e09\u65b9\u7684API\u63a5\u53e3\u8017\u65f6\u8fc7\u957f\u5bfc\u81f4\uff0c\u732a\u4e00\u6837\u7684\u961f\u53cb\u554a\u3002\n<\/p>\n<p>\n\t<img decoding=\"async\" alt=\"OSS \u63a5\u53e3\" src=\"http:\/\/img.blog.csdn.net\/20170209113710597\" style=\"width: 915px;height: 305px\" \/>\n<\/p>\n<p>\n\tOK\uff0c\u4ee5\u4e0a\u5c31\u662f\u6211\u501f\u52a9\u963f\u91cc\u4e91\u7684\u65e5\u5fd7\u670d\u52a1\u3001OSS\u3001ODPS\uff08\u6570\u52a0\uff09\u6765\u5904\u7406\u5206\u6790\u65e5\u5fd7\u7684\u4e00\u4e9b\u4e8b\u513f\u3002<\/p>\n<!-- <audio autoplay=\"autoplay\" height=\"100\" width=\"100\" hidden=\"true\"><source src=\"https:\/\/c.coka.la\/orAvPR.mp3\" type=\"audio\/mp3\"\/><\/audio><img decoding=\"async\" src=\"https:\/\/images.weserv.nl\/?url=https:\/\/ws3.sinaimg.cn\/large\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/> --><p><!-- <img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/xmt1139057136\/xttblog\/master\/8fa5dcfcgy1g4em3rzar5j20ib089ae0.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/>--><img decoding=\"async\" src=\"https:\/\/saas.51autoparts.cn\/api\/admin\/sys-file\/oss\/file?fileName=84db51f8561e448f9a4fda2eff0811f9.jpg\" alt=\"\u4e1a\u4f59\u8349\u516c\u4f17\u53f7\"\/><\/p><p>\u6700\u540e\uff0c\u6b22\u8fce\u5173\u6ce8\u6211\u7684\u4e2a\u4eba\u5fae\u4fe1\u516c\u4f17\u53f7\uff1a\u4e1a\u4f59\u8349\uff08yyucao\uff09\uff01<b>\u53ef\u52a0\u4f5c\u8005\u5fae\u4fe1\u53f7\uff1a<font color=\"red\">xttblog2<\/font>\u3002\u5907\u6ce8\uff1a\u201c1\u201d\uff0c\u6dfb\u52a0\u535a\u4e3b\u5fae\u4fe1\u62c9\u4f60\u8fdb\u5fae\u4fe1\u7fa4\u3002\u5907\u6ce8\u9519\u8bef\u4e0d\u4f1a\u540c\u610f\u597d\u53cb\u7533\u8bf7\u3002<\/b>\u518d\u6b21\u611f\u8c22\u60a8\u7684\u5173\u6ce8\uff01\u540e\u7eed\u6709\u7cbe\u5f69\u5185\u5bb9\u4f1a\u7b2c\u4e00\u65f6\u95f4\u53d1\u7ed9\u60a8\uff01\u539f\u521b\u6587\u7ae0\u6295\u7a3f\u8bf7\u53d1\u9001\u81f3532009913@qq.com\u90ae\u7bb1\u3002\u5546\u52a1\u5408\u4f5c\u4e5f\u53ef\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\u8fdb\u884c\u8054\u7cfb\uff01<\/p><p>\u672c\u6587\u539f\u6587\u51fa\u5904\uff1a<a href=\"https:\/\/www.xttblog.com\">\u4e1a\u4f59\u8349<\/a>\uff1a &raquo; <a href=\"https:\/\/www.xttblog.com\/?p=1052\">\u4f7f\u7528\u963f\u91cc\u4e91\u65e5\u5fd7\u670d\u52a1\u6765\u5206\u6790\u65e5\u5fd7<\/a><\/p><!-- <div class=\"bd-reward-stl\"><button id=\"bdRewardBtn\"><span><\/span><\/button><\/div> -->","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528\u963f\u91cc\u4e91\u7684\u65e5\u5fd7\u670d\u52a1\u4e4b\u524d\uff0c\u6211\u5206\u6790\u65e5\u5fd7\u7684\u65b9\u6cd5\u662f\u8fd9\u6837\u5a76\u513f\u7684\uff0c\u5982\u4e0b\u56fe\u3002 \u901a\u8fc7rsyslog\u628a\u670d\u52a1\u5668\u4e0a\u7684\u65e5\u5fd7\u6c47\u603b\u5230\u53e6 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[781,780,782,783,784,25],"class_list":["post-1052","post","type-post","status-publish","format-standard","hentry","category-it","tag-odps","tag-oss","tag-782","tag-783","tag-784","tag-25"],"_links":{"self":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1052"}],"version-history":[{"count":1,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1052\/revisions"}],"predecessor-version":[{"id":1053,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=\/wp\/v2\/posts\/1052\/revisions\/1053"}],"wp:attachment":[{"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xttblog.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}