{"id":40771,"date":"2023-08-25T20:12:26","date_gmt":"2022-11-26T11:51:17","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/"},"modified":"2024-04-30T20:06:21","modified_gmt":"2024-04-30T12:06:21","slug":"%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/","title":{"rendered":"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206"},"content":{"rendered":"<h1>&#8220;\u73b0\u5728\u8bd5\u8bd5 Fluentd \u7b2c\u4e94\u90e8\uff08\u5b8c\u7ed3\u7bc7\uff09\uff0c\u867d\u7136\u6709\u70b9\u665a&#8221;<\/h1>\n<p>\u7ecf\u5386\u4e86\u5f88\u591a\u66f2\u6298\uff0c\u7ec8\u4e8e\u80fd\u591f\u4ee5\u76f8\u540c\u7684\u6c34\u5e73\u6210\u529f\u5b89\u88c5\u4e86\uff08\u4e0d\u77e5\u9053\u662f\u7b2c\u51e0\u6b21\u5b89\u88c5\u4e86\uff1f\uff09\u3002\u54c7\u54e6\uff0c\u5e78\u597d\u4e4b\u524d\u5b89\u88c5\u7684\u7248\u672c\u6709bug\uff0c\u6211\u901a\u8fc7\u89e3\u51b3bug\u5b66\u5230\u4e86\u5f88\u591a\u4e1c\u897f\u3002\u73b0\u5728\u6211\u7ec8\u4e8e\u80fd\u591f\u7ad9\u5728\u8d77\u8dd1\u7ebf\u4e0a\u4e86\uff01\u63a5\u4e0b\u6765\uff0c\u8ba9\u6211\u4eec\u8fdb\u5165\u6b63\u9898\u2014\u2014&#8221;Apache + fluentd + Elasticsearch + Kibana&#8221;\uff08\u771f\u4e0d\u77e5\u9053\u662f\u7b2c\u51e0\u6b21\u4e86\uff1f\uff09\u8fd9\u662f\u5b8c\u7ed3\u7bc7\u4e86\u3002<\/p>\n<blockquote><p>\u4f7f\u7528Fluentd + Elasticsearch + Kibana\u642d\u5efa\u6570\u636e\u96c6\u8ba1\u670d\u52a1\u5668\u3002<\/p><\/blockquote>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d42d537434c4406c9a74e\/3-0.png\" alt=\"apache.png\" \/><\/div>\n<h1>\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u5185\u6838\u53c2\u6570\u7684\u8bbe\u7f6e<\/h1>\n<p>\u6211\u4f1a\u51c6\u5907\u4e24\u4e2a\u865a\u62df\u673a\u3002\u8fd9\u53ea\u662f\u4e3a\u4e86\u5c06\u670d\u52a1\u7aef\u548c\u5206\u6790\u7aef\u7684\u5b9e\u4f8b\u5206\u79bb\u5e76\u660e\u786e\uff0c\u6240\u4ee5\u5982\u679c\u9700\u8981\u53ef\u4ee5\u5ffd\u7565\u8fd9\u90e8\u5206\uff08\u53ea\u662f\u4e2a\u4eba\u7231\u597d\u95ee\u9898\uff09\u3002\u4e0d\u8fc7\uff0c\u7531\u4e8e\u770b\u8d77\u6765 fluentd \u4f7f\u7528\u4e86\u5f88\u591a\u6587\u4ef6\u63cf\u8ff0\u7b26\uff0c\u6240\u4ee5\u6211\u4f1a\u5c06\u9ed8\u8ba4\u503c 1024 \u8c03\u5927\u4e00\u4e9b\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo vi \/etc\/security\/limits.conf\r\nroot soft nofile 65536\r\nroot hard nofile 65536\r\n* soft nofile 65536\r\n* hard nofile 65536\r\n\r\n$ ulimit -n \uff08\u30b7\u30b9\u30c6\u30e0\u3092\u518d\u8d77\u52d5\uff09\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>$ sudo vi \/etc\/sysctl.conf\r\nnet.ipv4.tcp_tw_recycle = 1\r\nnet.ipv4.tcp_tw_reuse = 1\r\nnet.ipv4.ip_local_port_range = 10240    65535\r\n\r\n$ sysctl -w\r\n<\/code><\/pre>\n<h1>\u5b89\u88c5 fluentd<\/h1>\n<p>\u6211\u9009\u62e9\u5b89\u88c5\u964d\u7ea7\u7248\u672c\u7684td-agent 0.10.45\uff0c\u539f\u56e0\u662f\u6700\u65b0\u7248\u672c\u8fd8\u4e0d\u591f\u7a33\u5b9a\u3002<\/p>\n<pre class=\"post-pre\"><code>$ sudo su\r\n# curl -L http:\/\/toolbelt.treasuredata.com\/sh\/install-redhat.sh | sh\r\n$ sudo yum remove td-agent-1.1.20-0.x86_64\r\n$ sudo yum install td-agent-1.1.19-0.x86_64\r\n$ td-agent --version\r\ntd-agent 0.10.45\r\n<\/code><\/pre>\n<p>\u6240\u4ee5\uff0c\u5982\u679c\u5b89\u88c5\u4e86yum\u7684fastestmirror\u7684\u63d2\u4ef6\u6216\u8005\u8fdb\u884c\u66f4\u65b0\uff0c\u90a3\u4e48\u4e4b\u524d\u6240\u505a\u7684\u964d\u7ea7\u64cd\u4f5c\u5c31\u4f1a\u88ab\u8986\u76d6\uff0c\u4e3a\u4e86\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\uff0c\u5728\/etc\/yum.conf\u6587\u4ef6\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\u3002<\/p>\n<pre class=\"post-pre\"><code>exclude=td-*\r\n<\/code><\/pre>\n<h1>\u6536\u4fe1\u7aef\uff08\u96c6\u6536\u7aef\uff09\u7684\u8bbe\u5b9a<\/h1>\n<h2>\u5bfc\u5165elasticsearch\u63d2\u4ef6<\/h2>\n<p>\u5728\u63a5\u6536\u7aef\uff08\u4e5f\u79f0\u4e3a\u6536\u96c6\u5668\u7aef\uff09\u5f15\u5165fluentd\u7684elasticsearch\u63d2\u4ef6\u65f6\uff0c\u5b89\u88c5gem\u5305\u65f6\u9700\u8981\u5b89\u88c5libcurl-devel\u548cgcc\u3002<\/p>\n<pre class=\"post-pre\"><code># yum install libcurl-devel gcc\r\n# \/usr\/lib64\/fluent\/ruby\/bin\/gem install fluent-plugin-elasticsearch\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5 Elasticsearch<\/h2>\n<p>\u6211\u5c06\u6dfb\u52a0\u5916\u90e8\u5b58\u50a8\u5e93\uff08EPEL\uff09\u3002\u53e6\u5916\uff0c\u7531\u4e8e Elasticsearch \u9700\u8981 Java\uff0c\u6211\u4e5f\u4f1a\u5b89\u88c5\u5b83\uff08\u4e2a\u4eba\u89c9\u5f97\u5b89\u88c5 Java \u771f\u7684\u5f88\u9ebb\u70e6\u54c8\u54c8\uff09\u3002\u53e6\u5916\uff0c\u987a\u4fbf\u5b89\u88c5\u5f62\u6001\u89e3\u6790\u5668\u7684 Kuromoji \u63d2\u4ef6\u4e5f\u662f\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<pre class=\"post-pre\"><code># rpm --import http:\/\/packages.elasticsearch.org\/GPG-KEY-elasticsearch\r\n# vi \/etc\/yum.repos.d\/elasticsearch.repo\r\n[elasticsearch-1.1]\r\nname=Elasticsearch repository for 1.1.x packages\r\nbaseurl=http:\/\/packages.elasticsearch.org\/elasticsearch\/1.1\/centos\r\ngpgcheck=1\r\ngpgkey=http:\/\/packages.elasticsearch.org\/GPG-KEY-elasticsearch\r\nenabled=1\r\n\r\n# yum install elasticsearch java-1.7.0-openjdk\r\n# chkconfig --add elasticsearch\r\n# chkconfig elasticsearch on\r\n# service elasticsearch start\r\n<\/code><\/pre>\n<p>\u7136\u540e\uff0c\u68c0\u67e5\u52a8\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>$ curl -X GET http:\/\/localhost:9200\/\r\n{\r\n  \"status\" : 200,\r\n  \"name\" : \"Wilbur Day\",\r\n  \"version\" : {\r\n    \"number\" : \"1.1.2\",\r\n    \"build_hash\" : \"e511f7b28b77c4d99175905fac65bffbf4c80cf7\",\r\n    \"build_timestamp\" : \"2014-05-22T12:27:39Z\",\r\n    \"build_snapshot\" : false,\r\n    \"lucene_version\" : \"4.7\"\r\n  },\r\n  \"tagline\" : \"You Know, for Search\"\r\n}\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5Apache<\/h2>\n<p>\u9019\u88e1\u90fd\u7167\u5e38\u904b\u884c\uff0c\u5982\u679c\u8abf\u6574\u4e00\u4e0bServerName\u5c31\u4e0d\u6703\u6709\u8b66\u544a\uff0c\u6240\u4ee5\u6211\u6703\u5148\u8655\u7406\u9019\u500b\u3002\u53ea\u662f\u555f\u52d5kibana\u6240\u4ee5\u7528nginx\u4e5f\u53ef\u4ee5\uff0c\u9019\u88e1\u4e5f\u53ea\u662f\u4e00\u500b\u559c\u597d\u7684\u554f\u984c\u3002<\/p>\n<pre class=\"post-pre\"><code># yum install httpd\r\n# \/etc\/init.d\/httpd start\r\n# chkconfig httpd on\r\n<\/code><\/pre>\n<h2>Kibana\u7684\u5b89\u88c5<\/h2>\n<p>\u57282014\u5e747\u67084\u65e5\uff08\u6700\u65b0\u7248\u672c\u4e3a3.1.0\uff09\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code># curl -sL https:\/\/download.elasticsearch.org\/kibana\/kibana\/kibana-3.1.0.tar.gz | sudo tar zxf - -C \/var\/www\/html\r\n# mv \/var\/www\/html\/kibana-3.1.0 \/var\/www\/html\/kibana\r\n# \/etc\/init.d\/httpd restart\r\n<\/code><\/pre>\n<h2>\u8bbf\u95ee<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d42d537434c4406c9a74e\/29-0.png\" alt=\"kibana.png\" \/><\/div>\n<h2>Fluentd \u7684\u5b9a\u4e49<\/h2>\n<p>\u70ba\u4e86\u78ba\u8a8d\u50b3\u9001\u7684\u5167\u5bb9\uff0c\u5728\u958b\u59cb\u904b\u7528\u4e4b\u524d\uff0c\u6700\u597d\u4f7f\u7528 type stdout \u547d\u4ee4\u6307\u5b9a\u8f38\u51fa\u70ba \/var\/log\/td-agent\/td-agent.log\uff0c\u4e26\u5728\u78ba\u8a8d\u5167\u5bb9\u4e26\u5fae\u8abf\u7684\u540c\u6642\u9032\u884c\u7406\u89e3\u548c\u5b9a\u7fa9\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;source&gt;\r\n  type forward\r\n  port 24224\r\n&lt;\/source&gt;\r\n\r\n\r\n&lt;match apache.**&gt;\r\n  type copy\r\n\r\n  &lt;store&gt;\r\n    type stdout\r\n  &lt;\/store&gt;\r\n\r\n  &lt;store&gt;\r\n    type elasticsearch\r\n    host elasticsearch IP\u30a2\u30c9\u30ec\u30b9\r\n    port 9200\r\n    type_name access_log_2\r\n    logstash_format true\r\n    logstash_prefix apache_access\r\n    logstash_dateformat %Y%m\r\n  &lt;\/store&gt;\r\n\r\n &lt;\/match&gt;\r\n<\/code><\/pre>\n<h1>\u53d1\u9001\u7aef\uff08\u4ee3\u7406\u65b9\uff09<\/h1>\n<h2>\u6d41\u7545\u5b58\u50a8\uff08Fluentd\uff09\u7684\u5b9a\u4e49<\/h2>\n<p>\u4f7f\u7528Fluentd\u7684Apache2\u63d2\u4ef6\uff0c\u5c06\u89e3\u7801\u7684\u5185\u5bb9\u4f20\u8f93\u5230\u5df2\u5b89\u88c5Elasticsearch\u7684\u670d\u52a1\u5668\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u8fd8\u6307\u5b9a\u4e86\u8f93\u51fa\u7c7b\u578b\u4e3astdout\u3002\u5728\u5f00\u59cb\u64cd\u4f5c\u4e4b\u524d\uff0c\u6700\u597d\u67e5\u770b\/var\/log\/td-agent\/td-agent.log\u5e76\u8fdb\u884c\u76f8\u5e94\u914d\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;source&gt;\r\n  type tail\r\n  path \/var\/log\/httpd\/access_log\r\n  tag apache.combined\r\n  pos_file \/var\/log\/td-agent\/httpd-access.log.pos\r\n  format apache2\r\n&lt;\/source&gt;\r\n\r\n&lt;match apache.**&gt;\r\n  type copy\r\n\r\n  &lt;store&gt;\r\n    type stdout\r\n  &lt;\/store&gt;\r\n\r\n  &lt;store&gt;\r\n    type forward\r\n    buffer_chunk_limit 256m\r\n    buffer_queue_limit 128\r\n    flush_interval 5s\r\n    &lt;server&gt;\r\n      host elasticsearch IP\u30a2\u30c9\u30ec\u30b9\r\n      port 24224\r\n    &lt;\/server&gt;\r\n  &lt;\/store&gt;\r\n&lt;\/match&gt;\r\n<\/code><\/pre>\n<h1>\u57fa\u672c\u4e0a\u662f\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u53ef\u89c6\u5316\u548c\u5206\u6790\u7684\u5f00\u6e90\u5de5\u5177\u3002<\/h1>\n<p>\u5f53Fluentd\u7684\u8bbe\u7f6e\u8ba9\u6570\u636e\u79ef\u7d2f\u5230Elasticsearch\u65f6\uff0c\u6211\u4eec\u624d\u80fd\u51c6\u5907\u597d\u53ef\u89c6\u5316\u6570\u636e\u3002\u987a\u4fbf\u63d0\u4e00\u4e0b\uff0c\u5982\u679c\u6570\u636e\u6ca1\u6709\u5b58\u50a8\u8d77\u6765\uff0c\u5c31\u65e0\u6cd5\u5728Kibana\u4e2d\u8fdb\u884c\u5206\u6790\uff0c\u8fd9\u6837\u5c31\u4e0d\u591f\u6709\u8da3\u3002\u6240\u4ee5\uff0c\u6211\u4eec\u9700\u8981\u4f7f\u7528wget\u6216curl\u8fd9\u6837\u7684\u5de5\u5177\u6765\u8c03\u7528\u670d\u52a1\u7aef\uff0c\u6682\u65f6\u5b58\u50a8\u4e00\u4e9b\u6570\u636e\u3002<\/p>\n<h2>\u5982\u4f55\u4f7f\u7528Kibana<\/h2>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d42d537434c4406c9a74e\/40-0.png\" alt=\"kibana2.png\" \/><\/div>\n<blockquote><p>\u4f7f\u7528fluentd + Elasticsearch + Kibana\u5f00\u59cb\u8fdb\u884c\u65e5\u5fd7\u5206\u6790\uff08\u8bbe\u7f6e\u90e8\u5206\uff09<\/p><\/blockquote>\n<h1>\u4e0b\u6b21<\/h1>\n<p>\u8ba1\u5212\u5c06Fluentd\u914d\u7f6e\u4e3a\u591a\u9636\u6bb5\u7ed3\u6784\u5e76\u5b9e\u73b0\u5197\u4f59\u914d\u7f6e\uff0c\u8fd9\u6837\u505a\u662f\u4e3a\u4e86\u63a2\u7d22\u548c\u5b66\u4e60\u3002<\/p>\n<blockquote><p>\u5f00\u59cb\u4f7f\u7528Fluentd\u8fdb\u884c\u65e5\u5fd7\u7ba1\u7406 \u3010\u6574\u7406\u8f6c\u53d1\u8bbe\u7f6e\u3011<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;\u73b0\u5728\u8bd5\u8bd5 Fluentd \u7b2c\u4e94\u90e8\uff08\u5b8c\u7ed3\u7bc7\uff09\uff0c\u867d\u7136\u6709\u70b9\u665a&#8221; \u7ecf\u5386\u4e86\u5f88\u591a\u66f2\u6298\uff0c\u7ec8\u4e8e\u80fd\u591f\u4ee5 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-40771","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>\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206 - 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\/\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528fluentd\uff0capache-elasticsearch-kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206\" \/>\n<meta property=\"og:description\" content=\"&#8220;\u73b0\u5728\u8bd5\u8bd5 Fluentd \u7b2c\u4e94\u90e8\uff08\u5b8c\u7ed3\u7bc7\uff09\uff0c\u867d\u7136\u6709\u70b9\u665a&#8221; \u7ecf\u5386\u4e86\u5f88\u591a\u66f2\u6298\uff0c\u7ec8\u4e8e\u80fd\u591f\u4ee5 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528fluentd\uff0capache-elasticsearch-kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-26T11:51:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T12:06:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d42d537434c4406c9a74e\/3-0.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/\",\"name\":\"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-11-26T11:51:17+00:00\",\"dateModified\":\"2024-04-30T12:06:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206\"}]},{\"@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\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206 - 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\/\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528fluentd\uff0capache-elasticsearch-kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206","og_description":"&#8220;\u73b0\u5728\u8bd5\u8bd5 Fluentd \u7b2c\u4e94\u90e8\uff08\u5b8c\u7ed3\u7bc7\uff09\uff0c\u867d\u7136\u6709\u70b9\u665a&#8221; \u7ecf\u5386\u4e86\u5f88\u591a\u66f2\u6298\uff0c\u7ec8\u4e8e\u80fd\u591f\u4ee5 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528fluentd\uff0capache-elasticsearch-kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-11-26T11:51:17+00:00","article_modified_time":"2024-04-30T12:06:21+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d42d537434c4406c9a74e\/3-0.png"}],"author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/","name":"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-11-26T11:51:17+00:00","dateModified":"2024-04-30T12:06:21+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u73b0\u5728\u624d\u5f00\u59cb\u8bd5\u7528Fluentd\uff0cApache + Elasticsearch + Kibana\uff0c\u8fd9\u662f\u4ec0\u4e48\u597d\u5403\u7684\uff1f \u7b2c5\u90e8\u5206"}]},{"@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\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e7%8e%b0%e5%9c%a8%e6%89%8d%e5%bc%80%e5%a7%8b%e8%af%95%e7%94%a8fluentd%ef%bc%8capache-elasticsearch-kibana%ef%bc%8c%e8%bf%99%e6%98%af%e4%bb%80%e4%b9%88%e5%a5%bd%e5%90%83%e7%9a%84%ef%bc%9f\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40771","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=40771"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40771\/revisions"}],"predecessor-version":[{"id":94019,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/40771\/revisions\/94019"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=40771"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=40771"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=40771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}