{"id":92158,"date":"2026-08-09T14:01:33","date_gmt":"2026-08-09T06:01:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/92158.html"},"modified":"2026-08-09T14:01:33","modified_gmt":"2026-08-09T06:01:33","slug":"skywalking-%e5%be%ae%e6%9c%8d%e5%8a%a1%e5%85%a8%e9%93%be%e8%b7%af%e8%bf%bd%e8%b8%aa","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/92158.html","title":{"rendered":"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a"},"content":{"rendered":"<h2>\u4e00\u3001\u524d\u8a00&#xff1a;\u4e3a\u4ec0\u4e48ELK\u65e5\u5fd7\u4e4b\u5916&#xff0c;\u8fd8\u9700\u8981\u94fe\u8def\u8ffd\u8e2a&#xff1f;<\/h2>\n<p>\u5728\u4e0a\u4e00\u7bc7\u535a\u5ba2\u4e2d&#xff0c;\u6211\u4eec\u5b8c\u6574\u642d\u5efa\u4e86 Elastic Stack 8.x&#xff08;Filebeat&#043;Logstash&#043;ES&#xff09; \u5206\u5e03\u5f0f\u65e5\u5fd7\u6536\u96c6\u4f53\u7cfb&#xff0c;\u89e3\u51b3\u4e86\u5fae\u670d\u52a1\u65e5\u5fd7\u5206\u6563\u3001\u65e0\u6cd5\u7edf\u4e00\u68c0\u7d22\u3001\u65e5\u5fd7\u65e0\u7559\u5b58\u7684\u95ee\u9898&#xff0c;\u5b9e\u73b0\u4e86\u65e5\u5fd7\u53ef\u67e5\u3002<\/p>\n<p>\u4f46\u7eaf\u65e5\u5fd7\u7cfb\u7edf\u5b58\u5728\u81f4\u547d\u77ed\u677f&#xff1a;\u53ea\u80fd\u770b\u7ed3\u679c&#xff0c;\u770b\u4e0d\u5230\u8fc7\u7a0b\u3002<\/p>\n<p>\u5728\u590d\u6742\u5fae\u670d\u52a1\u8c03\u7528\u94fe\u8def\u4e2d&#xff0c;\u4e00\u6b21\u524d\u7aef\u8bf7\u6c42\u53ef\u80fd\u8d2f\u7a7f\u7f51\u5173\u3001\u7528\u6237\u670d\u52a1\u3001\u8ba2\u5355\u670d\u52a1\u3001\u652f\u4ed8\u670d\u52a1\u3001\u5e93\u5b58\u670d\u52a1&#xff0c;\u4e00\u65e6\u51fa\u73b0\u63a5\u53e3\u8d85\u65f6\u3001500\u62a5\u9519\u3001\u54cd\u5e94\u7f13\u6162\u7b49\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\n<p>ELK \u53ea\u80fd\u67e5\u5230\u67d0\u4e00\u4e2a\u670d\u52a1\u62a5\u9519\u65e5\u5fd7&#xff0c;\u65e0\u6cd5\u5b9a\u4f4d\u6545\u969c\u53d1\u751f\u5728\u54ea\u4e2a\u8c03\u7528\u8282\u70b9<\/p>\n<\/li>\n<li>\n<p>\u65e0\u6cd5\u7edf\u8ba1\u5404\u670d\u52a1\u3001\u5404\u63a5\u53e3\u8017\u65f6&#xff0c;\u4e0d\u77e5\u9053\u662f\u7f51\u7edc\u5361\u987f\u3001\u4ee3\u7801\u6162\u8fd8\u662f\u7b2c\u4e09\u65b9\u63a5\u53e3\u8d85\u65f6<\/p>\n<\/li>\n<li>\n<p>\u65e0\u5168\u5c40\u8bf7\u6c42ID&#xff0c;\u65e0\u6cd5\u4e32\u8054\u8de8\u670d\u52a1\u65e5\u5fd7&#xff0c;\u6392\u67e5\u6545\u969c\u53ea\u80fd\u9010\u670d\u52a1\u7ffb\u65e5\u5fd7&#xff0c;\u6548\u7387\u6781\u4f4e<\/p>\n<\/li>\n<li>\n<p>\u65e0\u6cd5\u76d1\u63a7\u670d\u52a1\u5065\u5eb7\u72b6\u6001\u3001\u541e\u5410\u91cf\u3001\u5f02\u5e38\u7387&#xff0c;\u53ea\u80fd\u4e8b\u540e\u6551\u706b&#xff0c;\u65e0\u6cd5\u4e8b\u524d\u9884\u8b66<\/p>\n<\/li>\n<\/ul>\n<p>\u56e0\u6b64&#xff0c;\u5fae\u670d\u52a1\u53ef\u89c2\u6d4b\u4f53\u7cfb\u5fc5\u987b\u53cc\u5f15\u64ce\u642d\u914d&#xff1a;ELK \u8d1f\u8d23\u65e5\u5fd7\u5b58\u50a8\u68c0\u7d22&#xff0c;SkyWalking \u8d1f\u8d23\u94fe\u8def\u8ffd\u8e2a\u3001\u6307\u6807\u76d1\u63a7\u3001\u62d3\u6251\u5206\u6790&#xff0c;\u4e8c\u8005\u8054\u52a8\u5b9e\u73b0\u300c\u94fe\u8def\u5b9a\u4f4d&#043;\u65e5\u5fd7\u6eaf\u6e90\u300d\u7684\u5b8c\u6574\u53ef\u89c2\u6d4b\u95ed\u73af\u3002<\/p>\n<h3>\u4e8c\u3001SkyWalking \u6838\u5fc3\u4ecb\u7ecd\u4e0e\u6280\u672f\u5b9a\u4f4d<\/h3>\n<p>Apache SkyWalking\u662f Apache \u9876\u7ea7\u5f00\u6e90\u7684\u96f6\u4fb5\u5165\u3001\u8f7b\u91cf\u7ea7\u3001\u9ad8\u6027\u80fd\u5fae\u670d\u52a1\u53ef\u89c2\u6d4b\u6027\u5206\u6790\u5e73\u53f0&#xff0c;\u4e13\u4e3a\u5206\u5e03\u5f0f\u7cfb\u7edf\u8bbe\u8ba1&#xff0c;\u652f\u6301\u94fe\u8def\u8ffd\u8e2a\u3001\u670d\u52a1\u6307\u6807\u76d1\u63a7\u3001\u62d3\u6251\u53ef\u89c6\u5316\u3001\u65e5\u5fd7\u5173\u8054\u3001\u544a\u8b66\u901a\u77e5\u7b49\u80fd\u529b&#xff0c;\u662f\u76ee\u524d\u56fd\u5185\u5fae\u670d\u52a1\u6700\u4e3b\u6d41\u7684\u94fe\u8def\u8ffd\u8e2a\u65b9\u6848\u3002<\/p>\n<p>\u672c\u6587\u5168\u7a0b\u91c7\u7528 SkyWalking \u6700\u65b0\u7a33\u5b9a\u7248 10.x&#xff0c;\u9002\u914d Spring Boot3\u3001Spring Cloud \u6700\u65b0\u751f\u6001&#xff0c;\u517c\u5bb9 Elasticsearch 8.x \u5b58\u50a8&#xff0c;\u5b8c\u7f8e\u5bf9\u63a5\u4e0a\u4e00\u7bc7 ELK8.x \u6280\u672f\u6808&#xff0c;\u6452\u5f03\u8001\u65e7\u7248\u672c\u5e9f\u5f03\u914d\u7f6e\u3002<\/p>\n<h4>2.1 \u6838\u5fc3\u7ec4\u4ef6\u67b6\u6784<\/h4>\n<ul>\n<li>\n<p>Agent&#xff08;\u63a2\u9488&#xff09;&#xff1a;\u5ba2\u6237\u7aef\u91c7\u96c6\u7ec4\u4ef6&#xff0c;JavaAgent \u673a\u5236&#xff0c;\u96f6\u4ee3\u7801\u4fb5\u5165&#xff0c;\u65e0\u9700\u4fee\u6539\u4e1a\u52a1\u4ee3\u7801&#xff0c;\u4ec5\u542f\u52a8\u6302\u8f7d\u5373\u53ef\u81ea\u52a8\u91c7\u96c6\u8c03\u7528\u94fe\u8def\u3001\u8017\u65f6\u3001\u5f02\u5e38\u3001JVM\u6307\u6807<\/p>\n<\/li>\n<li>\n<p>OAP Server&#xff1a;\u540e\u7aef\u6838\u5fc3\u670d\u52a1&#xff0c;\u9ed8\u8ba4\u76d1\u542c 11800(gRPC)\u300112800(HTTP)&#xff0c;\u63a5\u6536 Agent \u4e0a\u62a5\u6570\u636e&#xff0c;\u5b8c\u6210\u6570\u636e\u805a\u5408\u3001\u8ba1\u7b97\u3001\u5b58\u50a8\u3001\u5206\u6790<\/p>\n<\/li>\n<li>\n<p>UI \u63a7\u5236\u53f0&#xff1a;\u53ef\u89c6\u5316\u754c\u9762&#xff0c;\u63d0\u4f9b\u670d\u52a1\u62d3\u6251\u3001\u94fe\u8def\u8be6\u60c5\u3001\u63a5\u53e3\u8017\u65f6\u3001\u6307\u6807\u770b\u677f\u3001\u544a\u8b66\u914d\u7f6e\u7b49\u80fd\u529b&#xff0c;\u9ed8\u8ba4\u7aef\u53e3 8080<\/p>\n<\/li>\n<li>\n<p>\u5b58\u50a8\u5c42&#xff1a;\u652f\u6301 Elasticsearch\u3001MySQL\u3001H2&#xff0c;\u751f\u4ea7\u73af\u5883\u9996\u9009 ES8.x&#xff0c;\u4e0e ELK \u5171\u7528 ES \u96c6\u7fa4&#xff0c;\u964d\u4f4e\u8fd0\u7ef4\u6210\u672c<\/p>\n<\/li>\n<\/ul>\n<h4>2.2 \u5b8c\u6574\u53ef\u89c2\u6d4b\u8054\u52a8\u94fe\u8def&#xff08;\u4e0eELK\u5173\u8054&#xff09;<\/h4>\n<p>\u4e1a\u52a1\u8bf7\u6c42 -&gt; SkyWalking Agent \u91c7\u96c6\u94fe\u8def\u4fe1\u606f\u3001\u751f\u6210\u5168\u5c40 TraceId -&gt; OAP \u5b58\u50a8\u94fe\u8def\u6307\u6807 &amp; \u8c03\u7528\u94fe -&gt; Filebeat \u91c7\u96c6\u4e1a\u52a1\u65e5\u5fd7\u3001\u643a\u5e26 TraceId \u4e0a\u62a5 Logstash -&gt; ES \u7edf\u4e00\u5b58\u50a8\u94fe\u8def\u6570\u636e&#043;\u65e5\u5fd7\u6570\u636e -&gt; SkyWalkingUI&#043;Kibana \u53cc\u5411\u6eaf\u6e90\u6392\u67e5<\/p>\n<h3>\u4e09\u3001SkyWalking \u6838\u5fc3\u4f18\u7f3a\u70b9\u5206\u6790<\/h3>\n<h4>3.1 \u6838\u5fc3\u4f18\u52bf&#xff08;\u751f\u4ea7\u9996\u9009\u539f\u56e0&#xff09;<\/h4>\n<ul>\n<li>\n<p>\u96f6\u4ee3\u7801\u4fb5\u5165&#xff1a;\u57fa\u4e8e JavaAgent \u5b57\u8282\u7801\u589e\u5f3a&#xff0c;\u65e0\u9700\u57cb\u70b9\u3001\u65e0\u9700\u6539\u4ee3\u7801\u3001\u65e0\u9700\u5f15\u5165SDK&#xff0c;\u63a5\u5165\u6210\u672c\u6781\u4f4e&#xff0c;\u9002\u914d\u65b0\u65e7\u9879\u76ee<\/p>\n<\/li>\n<li>\n<p>\u6027\u80fd\u635f\u8017\u6781\u4f4e&#xff1a;\u5b98\u65b9\u5b9e\u6d4b\u6027\u80fd\u635f\u8017&#xff1c;5%&#xff0c;\u8f7b\u91cf\u7ea7\u63a2\u9488&#xff0c;\u4e0d\u5f71\u54cd\u4e1a\u52a1\u541e\u5410\u91cf\u548c\u54cd\u5e94\u8017\u65f6&#xff0c;\u9002\u914d\u9ad8\u5e76\u53d1\u751f\u4ea7\u73af\u5883<\/p>\n<\/li>\n<li>\n<p>\u81ea\u52a8\u9002\u914d\u4e2d\u95f4\u4ef6&#xff1a;\u539f\u751f\u81ea\u52a8\u62e6\u622a SpringMVC\u3001Dubbo\u3001Feign\u3001Redis\u3001MySQL\u3001MQ \u7b49\u5e38\u7528\u4e2d\u95f4\u4ef6\u8c03\u7528\u94fe\u8def&#xff0c;\u65e0\u9700\u989d\u5916\u914d\u7f6e<\/p>\n<\/li>\n<li>\n<p>\u5b8c\u7f8e\u517c\u5bb9ELK\u4f53\u7cfb&#xff1a;\u652f\u6301 TraceId \u65e5\u5fd7\u900f\u4f20&#xff0c;\u53ef\u901a\u8fc7\u94fe\u8defID\u76f4\u63a5\u8df3\u8f6c\u5bf9\u5e94\u62a5\u9519\u65e5\u5fd7&#xff0c;\u5b9e\u73b0\u94fe\u8def&#043;\u65e5\u5fd7\u8054\u52a8\u6392\u67e5<\/p>\n<\/li>\n<li>\n<p>\u529f\u80fd\u5168\u9762&#xff1a;\u96c6\u94fe\u8def\u8ffd\u8e2a\u3001\u670d\u52a1\u62d3\u6251\u3001JVM\u76d1\u63a7\u3001\u63a5\u53e3QPS\u3001\u5f02\u5e38\u7387\u3001\u6162\u63a5\u53e3\u7edf\u8ba1\u3001\u544a\u8b66\u9884\u8b66\u4e8e\u4e00\u4f53&#xff0c;\u65e0\u9700\u591a\u7ec4\u4ef6\u62fc\u63a5<\/p>\n<\/li>\n<li>\n<p>\u56fd\u4ea7\u5f00\u6e90\u53cb\u597d&#xff1a;\u4e2d\u6587\u6587\u6863\u5b8c\u5584\u3001\u793e\u533a\u6d3b\u8dc3\u3001\u8fed\u4ee3\u7a33\u5b9a&#xff0c;\u9002\u914d\u56fd\u5185\u5fae\u670d\u52a1\u6280\u672f\u6808&#xff0c;\u65e0\u56fd\u5916\u7ec4\u4ef6\u9002\u914d\u5751<\/p>\n<\/li>\n<\/ul>\n<h4>3.2 \u5c40\u9650\u6027\u4e0e\u77ed\u677f<\/h4>\n<ul>\n<li>\n<p>\u590d\u6742\u81ea\u5b9a\u4e49\u94fe\u8def\u652f\u6301\u5f31&#xff1a;\u9ad8\u5ea6\u81ea\u5b9a\u4e49\u7684\u4e1a\u52a1\u5206\u6bb5\u94fe\u8def&#xff0c;\u65e0\u6cd5\u81ea\u52a8\u91c7\u96c6&#xff0c;\u9700\u8981\u624b\u52a8\u6ce8\u89e3\u589e\u5f3a<\/p>\n<\/li>\n<li>\n<p>\u7cbe\u51c6\u65e5\u5fd7\u8054\u52a8\u9700\u9002\u914d&#xff1a;\u9ed8\u8ba4\u4e0d\u81ea\u52a8\u5173\u8054\u65e5\u5fd7&#xff0c;\u9700\u8981\u4e1a\u52a1\u65e5\u5fd7\u6253\u5370\u65f6\u624b\u52a8\u8f93\u51fa TraceId \u624d\u80fd\u4e0e ELK \u65e5\u5fd7\u8054\u52a8<\/p>\n<\/li>\n<li>\n<p>\u8f7b\u91cf\u7ea7\u76d1\u63a7&#xff0c;\u7cbe\u7ec6\u5316\u6307\u6807\u4e0d\u5982Prometheus&#xff1a;\u4fa7\u91cd\u94fe\u8def\u8ffd\u8e2a\u4e0e\u670d\u52a1\u5b8f\u89c2\u76d1\u63a7&#xff0c;\u7ec6\u7c92\u5ea6\u4e1a\u52a1\u6307\u6807\u76d1\u63a7\u4e0d\u5982 Prometheus&#043;Grafana<\/p>\n<\/li>\n<li>\n<p>\u96c6\u7fa4\u90e8\u7f72\u6709\u8fd0\u7ef4\u6210\u672c&#xff1a;\u5355\u673a\u53ef\u5feb\u901f\u5165\u95e8&#xff0c;\u751f\u4ea7\u9ad8\u53ef\u7528\u96c6\u7fa4\u9700\u8981\u4f18\u5316\u914d\u7f6e\u3001\u8c03\u4f18\u91c7\u6837\u7387\u3001\u6e05\u7406\u5386\u53f2\u6570\u636e<\/p>\n<\/li>\n<\/ul>\n<h3>\u56db\u3001\u9002\u7528\u573a\u666f\u4e0e\u843d\u5730\u8fb9\u754c<\/h3>\n<h4>4.1 \u9002\u914d\u573a\u666f&#xff08;\u5fc5\u843d\u5730\u573a\u666f&#xff09;<\/h4>\n<ul>\n<li>\n<p>Spring Cloud\u3001Dubbo \u5fae\u670d\u52a1\u96c6\u7fa4\u9879\u76ee&#xff0c;\u8de8\u670d\u52a1\u8c03\u7528\u9891\u7e41\u3001\u94fe\u8def\u590d\u6742<\/p>\n<\/li>\n<li>\n<p>\u7ebf\u4e0a\u5076\u53d1\u8d85\u65f6\u3001\u5076\u53d1\u62a5\u9519\u3001\u95f4\u6b47\u6027\u5361\u987f&#xff0c;\u7eaf\u65e5\u5fd7\u65e0\u6cd5\u5b9a\u4f4d\u95ee\u9898\u6839\u6e90<\/p>\n<\/li>\n<li>\n<p>\u9700\u8981\u7edf\u8ba1\u63a5\u53e3\u8017\u65f6\u3001\u6162\u63a5\u53e3\u4f18\u5316\u3001\u670d\u52a1\u541e\u5410\u91cf\u3001\u5f02\u5e38\u7387\u7b49\u8fd0\u7ef4\u6307\u6807<\/p>\n<\/li>\n<li>\n<p>\u5df2\u7ecf\u642d\u5efa ELK \u65e5\u5fd7\u4f53\u7cfb&#xff0c;\u9700\u8981\u8865\u9f50\u94fe\u8def\u8ffd\u8e2a\u80fd\u529b&#xff0c;\u5f62\u6210\u5b8c\u6574\u53ef\u89c2\u6d4b\u95ed\u73af<\/p>\n<\/li>\n<li>\n<p>\u751f\u4ea7\u73af\u5883\u9700\u8981\u4e8b\u524d\u544a\u8b66\u3001\u6545\u969c\u5feb\u901f\u5b9a\u4f4d\u3001\u7ebf\u4e0a\u95ee\u9898\u590d\u76d8\u7684\u4e2d\u5927\u578b\u9879\u76ee<\/p>\n<\/li>\n<\/ul>\n<h4>4.2 \u4e0d\u9002\u914d\u573a\u666f<\/h4>\n<ul>\n<li>\n<p>\u5355\u4f53\u67b6\u6784\u9879\u76ee&#xff0c;\u65e0\u8de8\u670d\u52a1\u8c03\u7528&#xff0c;\u65e0\u9700\u94fe\u8def\u8ffd\u8e2a\u80fd\u529b<\/p>\n<\/li>\n<li>\n<p>\u5c0f\u578b\u6d4b\u8bd5\u9879\u76ee\u3001\u4e34\u65f6\u6f14\u793a\u9879\u76ee&#xff0c;\u65e0\u7ebf\u4e0a\u6545\u969c\u6392\u67e5\u9700\u6c42<\/p>\n<\/li>\n<li>\n<p>\u6781\u81f4\u8f7b\u91cf\u5316\u5de5\u5177\u9879\u76ee&#xff0c;\u65e0\u9700\u53ef\u89c2\u6d4b\u4f53\u7cfb&#xff0c;\u8ffd\u6c42\u6700\u7b80\u90e8\u7f72<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e94\u3001\u6700\u65b0\u7a33\u5b9a\u7248 SkyWalking \u96f6\u57fa\u7840\u5b89\u88c5\u5b9e\u6218<\/h3>\n<p>\u73af\u5883\u7edf\u4e00\u9002\u914d&#xff1a;Linux CentOS7.9&#043;\/Ubuntu20.04&#043;&#xff0c;\u5b58\u50a8\u590d\u7528 Elasticsearch8.15.x&#xff08;\u4e0e\u4e0a\u7bc7ELK\u7248\u672c\u5b8c\u5168\u7edf\u4e00&#xff0c;\u7248\u672c\u517c\u5bb9\u65e0\u51b2\u7a81&#xff09;<\/p>\n<p>\u7ec4\u4ef6\u7248\u672c&#xff1a;SkyWalking 10.4.0&#xff08;\u6700\u65b0\u7a33\u5b9a\u7248&#xff09;\u3001ES8.15.x\u3001Filebeat8.15.x<\/p>\n<h4>5.1 \u670d\u52a1\u7aef&#xff08;OAP&#043;UI&#xff09;\u5b89\u88c5\u90e8\u7f72<\/h4>\n<h5>5.1.1 \u4e0b\u8f7d\u5b89\u88c5\u5305<\/h5>\n<p># \u4e0b\u8f7d\u6700\u65b0\u7a33\u5b9a\u7248 SkyWalking APM<br \/>\nwget https:\/\/archive.apache.org\/dist\/skywalking\/10.4.0\/apache-skywalking-apm-10.4.0-linux-x86_64.tar.gz<\/p>\n<p># \u89e3\u538b\u81f3 \/opt \u76ee\u5f55<br \/>\ntar -zxvf apache-skywalking-apm-10.4.0-linux-x86_64.tar.gz -C \/opt\/<br \/>\nmv \/opt\/apache-skywalking-apm-10.4.0 \/opt\/skywalking<\/p>\n<h5>5.1.2 \u914d\u7f6eES8.x\u5b58\u50a8&#xff08;\u6838\u5fc3\u9002\u914d&#xff09;<\/h5>\n<p>10.x \u7248\u672c\u9ed8\u8ba4\u652f\u6301 ES8.x&#xff0c;\u65e0\u9700\u517c\u5bb9\u65e7\u7248\u914d\u7f6e&#xff0c;\u4fee\u6539\u6838\u5fc3\u914d\u7f6e\u6587\u4ef6 \/opt\/skywalking\/config\/application.yml<\/p>\n<p>storage:<br \/>\n  selector: elasticsearch<br \/>\n  elasticsearch:<br \/>\n    # \u5bf9\u63a5\u672c\u673aES8.x&#xff0c;\u590d\u7528ELK\u96c6\u7fa4<br \/>\n    clusterNodes: https:\/\/127.0.0.1:9200<br \/>\n    # ES\u8d26\u53f7\u5bc6\u7801&#xff08;8.x\u9ed8\u8ba4\u5f00\u542f\u8ba4\u8bc1&#xff09;<br \/>\n    user: elastic<br \/>\n    password: \u4f60\u7684ES\u5bc6\u7801<br \/>\n    # \u5173\u95ed\u8bc1\u4e66\u6821\u9a8c&#xff08;\u6d4b\u8bd5\u73af\u5883&#xff09;&#xff0c;\u751f\u4ea7\u914d\u7f6e\u5408\u6cd5CA\u8bc1\u4e66<br \/>\n    sslVerification: false<br \/>\n    # \u7d22\u5f15\u5206\u7247\u4e0e\u526f\u672c\u914d\u7f6e<br \/>\n    indexShardsNumber: 1<br \/>\n    indexReplicasNumber: 0<br \/>\n    # \u6570\u636e\u4fdd\u5b58\u5929\u6570&#xff0c;\u6309\u9700\u8c03\u6574<br \/>\n    recordDataTTL: 7<br \/>\n    metricsDataTTL: 7<\/p>\n<h5>5.1.3 \u542f\u52a8\u670d\u52a1\u7aef<\/h5>\n<p># \u540e\u53f0\u542f\u52a8OAP\u6838\u5fc3\u670d\u52a1<br \/>\nnohup \/opt\/skywalking\/bin\/oap.sh start &amp;<\/p>\n<p># \u542f\u52a8UI\u63a7\u5236\u53f0<br \/>\nnohup \/opt\/skywalking\/bin\/ui.sh start <\/p>\n<h5>5.1.4 \u9a8c\u8bc1\u542f\u52a8\u6210\u529f<\/h5>\n<p># \u67e5\u770b\u7aef\u53e3\u76d1\u542c<br \/>\nnetstat -tulpn | grep 11800<br \/>\nnetstat -tulpn | grep 8080<\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee&#xff1a;http:\/\/\u670d\u52a1\u5668IP:8080&#xff0c;\u6210\u529f\u6253\u5f00SkyWalking\u63a7\u5236\u53f0\u5373\u4e3a\u90e8\u7f72\u5b8c\u6210\u3002<\/p>\n<h4>5.2 \u5ba2\u6237\u7aefAgent\u63a2\u9488\u90e8\u7f72&#xff08;\u96f6\u4fb5\u5165\u63a5\u5165&#xff09;<\/h4>\n<p>Agent \u65e0\u9700\u5b89\u88c5&#xff0c;\u76f4\u63a5\u6302\u8f7d\u4f7f\u7528&#xff0c;\u6240\u6709\u5fae\u670d\u52a1\u7edf\u4e00\u4f7f\u7528\u540c\u4e00\u4e2a\u63a2\u9488\u5305\u3002<\/p>\n<h5>5.2.1 \u83b7\u53d6Agent\u63a2\u9488<\/h5>\n<p># \u5355\u72ec\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672cAgent<br \/>\nwget https:\/\/archive.apache.org\/dist\/skywalking\/10.4.0\/apache-skywalking-java-agent-10.4.0.tgz<br \/>\ntar -zxvf apache-skywalking-java-agent-10.4.0.tgz -C \/opt\/<\/p>\n<h5>5.2.2 \u6838\u5fc3\u63a2\u9488\u914d\u7f6e&#xff08;agent.config&#xff09;<\/h5>\n<p>\u4fee\u6539 \/opt\/skywalking-java-agent\/config\/agent.config&#xff0c;\u9002\u914d\u751f\u4ea7\u73af\u5883&#xff1a;<\/p>\n<p># \u670d\u52a1\u540d\u79f0&#xff08;\u81ea\u5b9a\u4e49&#xff0c;UI\u5c55\u793a&#xff09;<br \/>\nagent.service_name&#061;${SW_AGENT_NAME:micro-service-order}<br \/>\n# OAP\u670d\u52a1\u7aef\u5730\u5740<br \/>\ncollector.backend_service&#061;127.0.0.1:11800<br \/>\n# \u751f\u4ea7\u73af\u5883\u91c7\u6837\u7387&#xff0c;\u907f\u514d\u6570\u636e\u91cf\u8fc7\u5927&#xff08;\u6d4b\u8bd51.0&#xff0c;\u751f\u4ea70.1-0.5&#xff09;<br \/>\nagent.sample_n_per_3_secs&#061;2<br \/>\n# \u6253\u5370SQL\u53c2\u6570&#xff0c;\u65b9\u4fbf\u95ee\u9898\u6392\u67e5<br \/>\nplugin.jdbc.trace_sql_parameters&#061;true<br \/>\n# \u5f00\u542f\u65e5\u5fd7TraceId\u900f\u4f20&#xff0c;\u5bf9\u63a5ELK\u5173\u952e\u914d\u7f6e<br \/>\nplugin.log.logback.enable&#061;true<\/p>\n<h3>\u516d\u3001\u5fae\u670d\u52a1\u63a5\u5165\u4e0e\u8c03\u7528\u94fe\u8def\u91c7\u96c6\u5b9e\u6218<\/h3>\n<h4>6.1 SpringBoot\u5fae\u670d\u52a1\u6302\u8f7d\u63a2\u9488<\/h4>\n<p>\u65e0\u9700\u6539\u4ee3\u7801&#xff0c;\u542f\u52a8\u811a\u672c\u6dfb\u52a0 -javaagent \u53c2\u6570\u5373\u53ef&#xff0c;\u9002\u914d SpringBoot3.x \u6700\u65b0\u7248\u672c<\/p>\n<p># \u5fae\u670d\u52a1\u542f\u52a8\u547d\u4ee4\u793a\u4f8b<br \/>\njava -javaagent:\/opt\/skywalking-java-agent\/skywalking-agent.jar \\\\<br \/>\n-jar order-service.jar \\\\<br \/>\n&#8211;spring.profiles.active&#061;prod<\/p>\n<h4>6.2 \u6a21\u62df\u4e1a\u52a1\u8c03\u7528&#xff0c;\u751f\u6210\u94fe\u8def\u6570\u636e<\/h4>\n<p>\u542f\u52a8\u7f51\u5173\u3001\u7528\u6237\u3001\u8ba2\u5355\u3001\u5e93\u5b58\u5fae\u670d\u52a1&#xff0c;\u901a\u8fc7\u524d\u7aef\u6216Postman\u53d1\u8d77\u5b8c\u6574\u4e1a\u52a1\u8bf7\u6c42&#xff0c;\u8c03\u7528\u5b8c\u6210\u540e\u7b49\u5f8510\u79d2\u6570\u636e\u805a\u5408\u3002<\/p>\n<h4>6.3 \u63a7\u5236\u53f0\u6838\u5fc3\u4f7f\u7528\u65b9\u5f0f<\/h4>\n<h5>6.3.1 \u670d\u52a1\u62d3\u6251\u67e5\u770b<\/h5>\n<p>UI\u9996\u9875\u3010Service Map\u3011\u53ef\u67e5\u770b\u6240\u6709\u5fae\u670d\u52a1\u8c03\u7528\u5173\u7cfb\u3001\u4f9d\u8d56\u7ec4\u4ef6\u3001\u5728\u7ebf\u72b6\u6001&#xff0c;\u76f4\u89c2\u53d1\u73b0\u670d\u52a1\u79bb\u7ebf\u3001\u5f02\u5e38\u670d\u52a1\u3002<\/p>\n<h5>6.3.2 \u94fe\u8def\u8ffd\u8e2a\u8be6\u60c5\u67e5\u8be2<\/h5>\n<p>\u70b9\u51fb\u3010Trace\u3011\u6a21\u5757&#xff0c;\u53ef\u67e5\u770b\u6240\u6709\u8bf7\u6c42\u94fe\u8def&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u5b8c\u6574\u8c03\u7528\u5806\u6808&#xff1a;\u7f51\u5173\u2192\u670d\u52a1A\u2192\u670d\u52a1B\u2192\u6570\u636e\u5e93<\/p>\n<\/li>\n<li>\n<p>\u6bcf\u4e00\u6bb5\u8c03\u7528\u8017\u65f6\u3001\u72b6\u6001\u7801\u3001\u5f02\u5e38\u4fe1\u606f<\/p>\n<\/li>\n<li>\n<p>\u7cbe\u51c6\u5b9a\u4f4d\u6162\u63a5\u53e3\u3001\u8d85\u65f6\u8282\u70b9\u3001\u62a5\u9519\u8282\u70b9<\/p>\n<\/li>\n<\/ul>\n<h5>6.3.3 \u670d\u52a1\u6307\u6807\u76d1\u63a7<\/h5>\n<p>\u3010Service\u3011\u6a21\u5757\u67e5\u770b\u5355\u670d\u52a1QPS\u3001\u54cd\u5e94\u8017\u65f6\u3001\u5f02\u5e38\u7387\u3001JVM\u5185\u5b58\u3001GC\u6b21\u6570\u3001\u7ebf\u7a0b\u6570&#xff0c;\u5b9e\u65f6\u76d1\u63a7\u670d\u52a1\u5065\u5eb7\u72b6\u6001\u3002<\/p>\n<h3>\u4e03\u3001\u4e0eELK8.x\u65e5\u5fd7\u4f53\u7cfb\u8054\u52a8&#xff08;\u6838\u5fc3\u5173\u8054\u80fd\u529b&#xff09;<\/h3>\n<p>\u8fd9\u662f\u4e24\u5927\u6280\u672f\u6808\u8054\u52a8\u7684\u6838\u5fc3\u4ef7\u503c&#xff0c;\u5b9e\u73b0\u300c\u94fe\u8def\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u65e5\u5fd7\u4f50\u8bc1\u7ec6\u8282\u300d\u3002<\/p>\n<h4>7.1 \u6838\u5fc3\u8054\u52a8\u539f\u7406<\/h4>\n<p>SkyWalking \u6bcf\u6b21\u8bf7\u6c42\u90fd\u4f1a\u751f\u6210\u552f\u4e00 TraceId&#xff0c;\u901a\u8fc7\u65e5\u5fd7\u63d2\u4ef6\u5c06 TraceId \u6253\u5370\u5230\u4e1a\u52a1\u65e5\u5fd7\u4e2d&#xff1b;Filebeat&#043;Logstash \u91c7\u96c6\u65e5\u5fd7\u5e76\u5e26\u5165 TraceId \u5b58\u5165 ES&#xff0c;\u6392\u67e5\u95ee\u9898\u65f6&#xff1a;<\/p>\n<li>\n<p>SkyWalking \u627e\u5230\u62a5\u9519\u94fe\u8def\u3001\u83b7\u53d6 TraceId<\/p>\n<\/li>\n<li>\n<p>\u590d\u5236 TraceId \u5230 Kibana \u68c0\u7d22<\/p>\n<\/li>\n<li>\n<p>\u4e00\u952e\u67e5\u8be2\u8be5\u8bf7\u6c42\u5168\u94fe\u8def\u6240\u6709\u670d\u52a1\u65e5\u5fd7&#xff0c;\u5b8c\u6574\u590d\u76d8\u6545\u969c<\/p>\n<\/li>\n<h4>7.2 \u5feb\u901f\u63a5\u5165\u914d\u7f6e<\/h4>\n<p>\u9879\u76ee\u5f15\u5165 skywalking-logback \u4f9d\u8d56&#xff08;\u9002\u914d\u65e5\u5fd7\u900f\u4f20&#xff09;&#xff0c;\u65e5\u5fd7\u683c\u5f0f\u589e\u52a0 %tid \u5373\u53ef\u6253\u5370\u5168\u5c40\u94fe\u8defID&#xff0c;\u65e0\u7f1d\u5bf9\u63a5ELK\u68c0\u7d22\u4f53\u7cfb\u3002<\/p>\n<h3>\u516b\u3001\u751f\u4ea7\u73af\u5883\u4f18\u5316\u65b9\u6848&#xff08;10.x\u7248\u672c\u4e13\u5c5e&#xff09;<\/h3>\n<h4>8.1 \u91c7\u6837\u7387\u4f18\u5316&#xff08;\u5173\u952e&#xff09;<\/h4>\n<p>\u6d4b\u8bd5\u73af\u5883\u91c7\u6837\u73871.0&#xff08;\u5168\u91c7\u96c6&#xff09;&#xff0c;\u751f\u4ea7\u9ad8\u5e76\u53d1\u73af\u5883\u5fc5\u987b\u8c03\u4f4e&#xff0c;\u907f\u514d\u6d77\u91cf\u6570\u636e\u538b\u57aeES&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u666e\u901a\u4e1a\u52a1&#xff1a;\u91c7\u6837\u7387 0.2&#xff08;\u6bcf3\u79d2\u91c7\u96c62\u6761&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u6838\u5fc3\u652f\u4ed8\u3001\u8ba2\u5355\u4e1a\u52a1&#xff1a;\u91c7\u6837\u7387 0.5<\/p>\n<\/li>\n<li>\n<p>\u6545\u969c\u9891\u53d1\u73af\u5883&#xff1a;\u4e34\u65f6\u5168\u5f00\u91c7\u6837\u6392\u67e5\u95ee\u9898<\/p>\n<\/li>\n<\/ul>\n<h4>8.2 \u5b58\u50a8\u4f18\u5316&#xff08;\u5bf9\u63a5ES8.x&#xff09;<\/h4>\n<ul>\n<li>\n<p>\u914d\u7f6e\u6570\u636eTTL&#xff0c;\u81ea\u52a8\u6e05\u74067\u5929\u524d\u5386\u53f2\u94fe\u8def\u6570\u636e&#xff0c;\u91ca\u653eES\u78c1\u76d8\u7a7a\u95f4<\/p>\n<\/li>\n<li>\n<p>\u5408\u7406\u8bbe\u7f6e\u5206\u7247\u6570\u3001\u526f\u672c\u6570&#xff0c;\u9002\u914dES\u96c6\u7fa4\u6027\u80fd<\/p>\n<\/li>\n<li>\n<p>\u533a\u5206\u6307\u6807\u6570\u636e\u3001\u94fe\u8def\u6570\u636e\u5b58\u50a8\u5468\u671f&#xff0c;\u7cbe\u7ec6\u5316\u7ba1\u7406<\/p>\n<\/li>\n<\/ul>\n<h4>8.3 \u6027\u80fd\u4f18\u5316<\/h4>\n<ul>\n<li>\n<p>\u5173\u95ed\u65e0\u7528\u63d2\u4ef6&#xff0c;\u4ec5\u5f00\u542fMVC\u3001JDBC\u3001Dubbo\u3001Feign\u6838\u5fc3\u63d2\u4ef6&#xff0c;\u51cf\u5c11\u63a2\u9488\u5f00\u9500<\/p>\n<\/li>\n<li>\n<p>OAP\u670d\u52a1\u8c03\u6574JVM\u53c2\u6570&#xff0c;\u9002\u914d\u670d\u52a1\u5668\u914d\u7f6e&#xff0c;\u907f\u514d\u5185\u5b58\u6ea2\u51fa<\/p>\n<\/li>\n<li>\n<p>\u63a2\u9488\u5f02\u6b65\u4e0a\u62a5\u6570\u636e&#xff0c;\u4e0d\u963b\u585e\u4e1a\u52a1\u7ebf\u7a0b<\/p>\n<\/li>\n<\/ul>\n<h4>8.4 \u8fd0\u7ef4\u4f18\u5316<\/h4>\n<ul>\n<li>\n<p>\u914d\u7f6e\u90ae\u4ef6\u3001\u9489\u9489\u544a\u8b66&#xff0c;\u670d\u52a1\u4e0b\u7ebf\u3001\u5f02\u5e38\u7387\u98d9\u5347\u3001\u63a5\u53e3\u8d85\u65f6\u81ea\u52a8\u9884\u8b66<\/p>\n<\/li>\n<li>\n<p>\u7edf\u4e00\u7ba1\u7406Agent\u63a2\u9488\u7248\u672c&#xff0c;\u6240\u6709\u5fae\u670d\u52a1\u7248\u672c\u4e00\u81f4&#xff0c;\u907f\u514d\u517c\u5bb9\u95ee\u9898<\/p>\n<\/li>\n<li>\n<p>\u4e0eELK\u5171\u7528ES\u96c6\u7fa4&#xff0c;\u51cf\u5c11\u4e2d\u95f4\u4ef6\u90e8\u7f72\u6210\u672c&#xff0c;\u7edf\u4e00\u8fd0\u7ef4<\/p>\n<\/li>\n<\/ul>\n<h3>\u4e5d\u3001\u5e38\u89c1\u7ebf\u4e0a\u95ee\u9898\u6392\u9519<\/h3>\n<ul>\n<li>\n<p>\u670d\u52a1\u542f\u52a8\u65e0\u94fe\u8def\u6570\u636e&#xff1a;\u68c0\u67e5OAP\u7aef\u53e3\u8fde\u901a\u6027\u3001\u9632\u706b\u589911800\u7aef\u53e3\u662f\u5426\u5f00\u653e\u3001\u63a2\u9488serviceName\u662f\u5426\u914d\u7f6e\u6b63\u786e<\/p>\n<\/li>\n<li>\n<p>\u94fe\u8def\u6709\u62a5\u9519&#xff0c;\u65e0\u8be6\u7ec6\u65e5\u5fd7&#xff1a;\u672a\u5f00\u542f\u65e5\u5fd7TraceId\u900f\u4f20&#xff0c;\u9700\u914d\u7f6elogback\u63d2\u4ef6\u5e76\u91cd\u542f\u670d\u52a1<\/p>\n<\/li>\n<li>\n<p>ES\u5199\u5165\u5931\u8d25&#xff1a;\u6838\u5bf9ES8.x\u8d26\u53f7\u5bc6\u7801\u3001HTTPS\u8bc1\u4e66\u914d\u7f6e&#xff0c;\u5173\u95ed\u6d4b\u8bd5\u73af\u5883\u8bc1\u4e66\u6821\u9a8c<\/p>\n<\/li>\n<li>\n<p>\u9ad8\u5e76\u53d1\u4e0b\u6570\u636e\u4e22\u5931&#xff1a;\u8c03\u5927\u91c7\u6837\u7387\u3001\u5f00\u542f\u6279\u91cf\u4e0a\u62a5\u3001\u4f18\u5316OAP\u7ebf\u7a0b\u6c60\u53c2\u6570<\/p>\n<\/li>\n<li>\n<p>UI\u52a0\u8f7d\u7f13\u6162&#xff1a;\u6e05\u7406\u8fc7\u671f\u94fe\u8def\u6570\u636e\u3001\u4f18\u5316ES\u67e5\u8be2\u3001\u8c03\u6574JVM\u5806\u5185\u5b58<\/p>\n<\/li>\n<\/ul>\n<h3>\u5341\u3001\u5168\u6587\u603b\u7ed3&#xff1a;ELK&#043;SkyWalking \u5b8c\u6574\u53ef\u89c2\u6d4b\u95ed\u73af<\/h3>\n<p>1\u3001ELK\u6280\u672f\u6808&#xff08;Filebeat&#043;Logstash&#043;ES8.x&#xff09;&#xff1a;\u89e3\u51b3\u65e5\u5fd7\u91c7\u96c6\u3001\u5b58\u50a8\u3001\u68c0\u7d22\u3001\u7edf\u8ba1\u95ee\u9898&#xff0c;\u8d1f\u8d23\u300c\u4e8b\u540e\u7ec6\u8282\u6eaf\u6e90\u300d&#xff1b;<\/p>\n<p>2\u3001SkyWalking10.x\u94fe\u8def\u8ffd\u8e2a&#xff1a;\u89e3\u51b3\u670d\u52a1\u8c03\u7528\u94fe\u8def\u3001\u6545\u969c\u5b9a\u4f4d\u3001\u6027\u80fd\u76d1\u63a7\u3001\u5f02\u5e38\u9884\u8b66\u95ee\u9898&#xff0c;\u8d1f\u8d23\u300c\u4e8b\u524d\u76d1\u63a7\u3001\u4e8b\u4e2d\u5b9a\u4f4d\u300d&#xff1b;<\/p>\n<p>3\u3001\u4e8c\u8005\u8054\u52a8\u662f\u76ee\u524d\u5fae\u670d\u52a1\u6700\u4f18\u53ef\u89c2\u6d4b\u843d\u5730\u65b9\u6848&#xff0c;\u96f6\u4fb5\u5165\u63a5\u5165\u3001\u6027\u80fd\u635f\u8017\u4f4e\u3001\u8fd0\u7ef4\u6210\u672c\u53ef\u63a7&#xff0c;\u5b8c\u5168\u9002\u914d\u6700\u65b0SpringCloud\u3001ES8.x\u751f\u6001&#xff0c;\u662f\u4e2d\u5927\u578b\u5fae\u670d\u52a1\u9879\u76ee\u5fc5\u5907\u7684\u57fa\u7840\u8fd0\u7ef4\u57fa\u5efa\u3002<\/p>\n<p>\u76f8\u6bd4\u4f20\u7edfSleuth&#043;Zipkin\u65b9\u6848&#xff0c;SkyWalking\u65e0\u9700\u624b\u52a8\u57cb\u70b9\u3001\u529f\u80fd\u66f4\u5168\u9762\u3001\u8fd0\u7ef4\u66f4\u7b80\u5355&#xff0c;\u7ed3\u5408ELK\u65e5\u5fd7\u4f53\u7cfb&#xff0c;\u5f7b\u5e95\u89e3\u51b3\u5fae\u670d\u52a1\u300c\u6545\u969c\u96be\u67e5\u3001\u6027\u80fd\u96be\u4f18\u3001\u72b6\u6001\u96be\u63a7\u300d\u7684\u884c\u4e1a\u75db\u70b9\u3002<\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u524d\u8a00&#xff1a;\u4e3a\u4ec0\u4e48ELK\u65e5\u5fd7\u4e4b\u5916&#xff0c;\u8fd8\u9700\u8981\u94fe\u8def\u8ffd\u8e2a&#xff1f;\u5728\u4e0a\u4e00\u7bc7\u535a\u5ba2\u4e2d&#xff0c;\u6211\u4eec\u5b8c\u6574\u642d\u5efa\u4e86 Elastic Stack 8.x&#xff08;FilebeatLogstashES&#xff09; \u5206\u5e03\u5f0f\u65e5\u5fd7\u6536\u96c6\u4f53\u7cfb&#xff0c;\u89e3\u51b3\u4e86\u5fae\u670d\u52a1\u65e5\u5fd7\u5206\u6563\u3001\u65e0\u6cd5\u7edf\u4e00\u68c0\u7d22\u3001\u65e5\u5fd7\u65e0\u7559\u5b58\u7684\u95ee\u9898&#xff0c;\u5b9e\u73b0\u4e86\u65e5\u5fd7\u53ef\u67e5\u3002\u4f46\u7eaf\u65e5\u5fd7\u7cfb\u7edf\u5b58\u5728\u81f4\u547d\u77ed\u677f&#xff1a;\u53ea\u80fd\u770b\u7ed3\u679c&#xff0c;\u770b\u4e0d\u5230\u8fc7\u7a0b\u3002\u5728\u590d\u6742\u5fae\u670d\u52a1\u8c03\u7528\u94fe\u8def\u4e2d&#xff0c;\u4e00\u6b21\u524d<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9508,1348,188],"topic":[],"class_list":["post-92158","post","type-post","status-publish","format-standard","hentry","category-server","tag-skywalking","tag-1348","tag-188"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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.wsisp.com\/helps\/92158.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4e00\u3001\u524d\u8a00&#xff1a;\u4e3a\u4ec0\u4e48ELK\u65e5\u5fd7\u4e4b\u5916&#xff0c;\u8fd8\u9700\u8981\u94fe\u8def\u8ffd\u8e2a&#xff1f;\u5728\u4e0a\u4e00\u7bc7\u535a\u5ba2\u4e2d&#xff0c;\u6211\u4eec\u5b8c\u6574\u642d\u5efa\u4e86 Elastic Stack 8.x&#xff08;FilebeatLogstashES&#xff09; \u5206\u5e03\u5f0f\u65e5\u5fd7\u6536\u96c6\u4f53\u7cfb&#xff0c;\u89e3\u51b3\u4e86\u5fae\u670d\u52a1\u65e5\u5fd7\u5206\u6563\u3001\u65e0\u6cd5\u7edf\u4e00\u68c0\u7d22\u3001\u65e5\u5fd7\u65e0\u7559\u5b58\u7684\u95ee\u9898&#xff0c;\u5b9e\u73b0\u4e86\u65e5\u5fd7\u53ef\u67e5\u3002\u4f46\u7eaf\u65e5\u5fd7\u7cfb\u7edf\u5b58\u5728\u81f4\u547d\u77ed\u677f&#xff1a;\u53ea\u80fd\u770b\u7ed3\u679c&#xff0c;\u770b\u4e0d\u5230\u8fc7\u7a0b\u3002\u5728\u590d\u6742\u5fae\u670d\u52a1\u8c03\u7528\u94fe\u8def\u4e2d&#xff0c;\u4e00\u6b21\u524d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/92158.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-09T06:01:33+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92158.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/92158.html\",\"name\":\"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-08-09T06:01:33+00:00\",\"dateModified\":\"2026-08-09T06:01:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/92158.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/92158.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/92158.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/92158.html","og_locale":"zh_CN","og_type":"article","og_title":"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4e00\u3001\u524d\u8a00&#xff1a;\u4e3a\u4ec0\u4e48ELK\u65e5\u5fd7\u4e4b\u5916&#xff0c;\u8fd8\u9700\u8981\u94fe\u8def\u8ffd\u8e2a&#xff1f;\u5728\u4e0a\u4e00\u7bc7\u535a\u5ba2\u4e2d&#xff0c;\u6211\u4eec\u5b8c\u6574\u642d\u5efa\u4e86 Elastic Stack 8.x&#xff08;FilebeatLogstashES&#xff09; \u5206\u5e03\u5f0f\u65e5\u5fd7\u6536\u96c6\u4f53\u7cfb&#xff0c;\u89e3\u51b3\u4e86\u5fae\u670d\u52a1\u65e5\u5fd7\u5206\u6563\u3001\u65e0\u6cd5\u7edf\u4e00\u68c0\u7d22\u3001\u65e5\u5fd7\u65e0\u7559\u5b58\u7684\u95ee\u9898&#xff0c;\u5b9e\u73b0\u4e86\u65e5\u5fd7\u53ef\u67e5\u3002\u4f46\u7eaf\u65e5\u5fd7\u7cfb\u7edf\u5b58\u5728\u81f4\u547d\u77ed\u677f&#xff1a;\u53ea\u80fd\u770b\u7ed3\u679c&#xff0c;\u770b\u4e0d\u5230\u8fc7\u7a0b\u3002\u5728\u590d\u6742\u5fae\u670d\u52a1\u8c03\u7528\u94fe\u8def\u4e2d&#xff0c;\u4e00\u6b21\u524d","og_url":"https:\/\/www.wsisp.com\/helps\/92158.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-08-09T06:01:33+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/92158.html","url":"https:\/\/www.wsisp.com\/helps\/92158.html","name":"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-08-09T06:01:33+00:00","dateModified":"2026-08-09T06:01:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/92158.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/92158.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/92158.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"SkyWalking \u5fae\u670d\u52a1\u5168\u94fe\u8def\u8ffd\u8e2a"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=92158"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/92158\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=92158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=92158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=92158"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=92158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}