{"id":82759,"date":"2026-07-25T12:17:06","date_gmt":"2026-07-25T04:17:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/82759.html"},"modified":"2026-07-25T12:17:06","modified_gmt":"2026-07-25T04:17:06","slug":"linux%e6%90%ad%e5%bb%basyslog%e6%97%a5%e5%bf%97%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/82759.html","title":{"rendered":"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668"},"content":{"rendered":"<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6700\u8fd1\u6709\u4e2a\u9700\u6c42&#xff0c;\u9700\u8981\u4f7f\u7528\u5230syslog\u670d\u52a1\u5668&#xff0c;\u4e8e\u662f\u5bfb\u627e\u8d44\u6599\u5728Linux\u7cfb\u7edf\u4e0a\u642d\u5efa\u4e86\u4e00\u4e2adocker\u5bb9\u5668\u7684syslog\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\u3002\u6267\u884c\u6b65\u9aa4\u524d&#xff0c;\u4f60\u5148\u5f97\u5728Linux\u4e0a\u5b89\u88c5\u597ddocker\u8f6f\u4ef6&#xff0c;\u5b89\u88c5\u597d\u540e\u770bdocker\u7684compose\u662f\u5426\u53ef\u4ee5\u4f7f\u7528&#xff0c;\u4e0d\u884c&#xff0c;\u8fd8\u9700\u8981\u5b89\u88c5docker-compose&#xff0c;\u4e4b\u524d\u8001\u4e00\u4e9b\u7684\u7248\u672c\u5b89\u88c5\u597d\u540e\u662f\u4f7f\u7528docker-compose\u8fd9\u6837\u7528&#xff0c;\u540e\u9762\u65b0\u7248\u672c\u7684docker\u5c31docker compose\u8fd9\u6837\u6765\u4f7f\u7528\u7684&#xff0c;\u4e9b\u8bb8\u533a\u522b&#xff0c;\u5728\u8fd9\u505a\u4e2a\u7b80\u5355\u7684\u63d0\u9192\u3002<\/p>\n<h3>1\u3001\u62c9\u53d6\u955c\u50cf<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u62c9\u53d6\u955c\u50cf\u5f53\u65f6\u4e5f\u5e9f\u4e86\u4e00\u4e9b\u529f\u592b&#xff0c;\u62c9\u53d6\u7684\u65f6\u5019\u4e0d\u662f\u8fde\u4e0d\u4e0a\u670d\u52a1\u5668\u5c31\u662f\u8d85\u65f6&#xff0c;\u540e\u9762\u6539\u4e86docker\u7684\u955c\u50cf\u6e90&#xff0c;\u4f7f\u7528\u4e0b\u9762\u7684\u62c9\u53d6\u955c\u50cf\u547d\u4ee4\u7ec8\u4e8e\u62c9\u53d6\u6210\u529f\u4e86\u3002<\/p>\n<p>docker pull rsyslog\/rsyslog:latest<\/p>\n<p>\u62c9\u53d6\u6210\u529f\u540e\u4f7f\u7528docker images\u67e5\u770b\u955c\u50cf&#xff0c;\u53ef\u4ee5\u770b\u5230\u955c\u50cf\u5df2\u7ecf\u62c9\u53d6\u5b8c\u6210\u4e86&#xff0c;\u5982\u4e0b\u6240\u793a&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"101\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725041704-6a6438c0ada99.png\" width=\"936\" \/><\/p>\n<h3>2\u3001\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u9996\u9009\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939syslog&#xff0c;\u7136\u540e\u8fdb\u5165\u6587\u4ef6\u5939&#xff0c;\u521b\u5efa\u6587\u4ef6\u5939data\u548c\u4e0b\u9762\u7684docker-compose.yml\u6587\u4ef6\u3002\u5728data\u91cc\u9762\u518d\u65b0\u5efaremote\u6587\u4ef6\u5939\u548crsyslog.conf\u6587\u4ef6&#xff0c;\u6700\u540e\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\u56fe\u6240\u793a&#xff1a;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"194\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725041704-6a6438c0c61aa.png\" width=\"575\" \/><\/p>\n<p>\u7136\u540e\u5c31\u662f\u7f16\u8f91rsyslog.conf\u5185\u5bb9\u4e3a\u5982\u4e0b\u5185\u5bb9<\/p>\n<p># \u52a0\u8f7d\u6838\u5fc3\u6a21\u5757<br \/>\nmodule(load&#061;&#034;imuxsock&#034;)  # \u672c\u5730\u65e5\u5fd7\u63a5\u6536<br \/>\nmodule(load&#061;&#034;imudp&#034;)     # UDP \u6a21\u5757<br \/>\nmodule(load&#061;&#034;imtcp&#034;)     # TCP \u6a21\u5757&#xff08;\u5173\u952e&#xff0c;\u542f\u7528 TCP \u652f\u6301&#xff09;<\/p>\n<p># \u76d1\u542c UDP 514 \u7aef\u53e3<br \/>\ninput(type&#061;&#034;imudp&#034; port&#061;&#034;514&#034;)<br \/>\n# \u76d1\u542c TCP 514 \u7aef\u53e3&#xff08;\u5173\u952e&#xff0c;\u542f\u7528 TCP \u652f\u6301&#xff09;<br \/>\ninput(type&#061;&#034;imtcp&#034; port&#061;&#034;514&#034;)<\/p>\n<p># \u5b9a\u4e49\u6a21\u677f&#xff1a;\u6309\u5ba2\u6237\u7aef\u4e3b\u673a\u540d&#043;\u7a0b\u5e8f\u540d\u5206\u7c7b\u5b58\u50a8\u65e5\u5fd7<br \/>\n$template RemoteLog,&#034;\/var\/log\/remote\/%HOSTNAME%\/%PROGRAMNAME%.log&#034;<br \/>\n# \u6240\u6709\u8fdc\u7a0b\u65e5\u5fd7\u5e94\u7528\u6a21\u677f\u5b58\u50a8<br \/>\n*.* ?RemoteLog<\/p>\n<p># \u989d\u5916&#xff1a;\u6309\u65e5\u5fd7\u7ea7\u522b\u5206\u7c7b&#xff08;\u5982 ERROR \u65e5\u5fd7\u5355\u72ec\u5b58\u50a8&#xff09;<br \/>\n:syslogseverity, isequal, &#034;error&#034; \/var\/log\/remote\/error.log<\/p>\n<p># \u7981\u6b62\u65e5\u5fd7\u91cd\u590d\u8f93\u51fa<br \/>\n&amp; stop<\/p>\n<p>\u5176\u4e2dremote\u6587\u4ef6\u5939\u91cc\u9762\u4e0d\u505a\u4efb\u4f55\u4fee\u6539&#xff0c;\u7a7a\u6587\u4ef6\u5939\u5373\u53ef&#xff0c;\u540e\u9762\u505a\u6570\u636e\u6620\u5c04\u5230\u5bb9\u5668\u3002<\/p>\n<h3>3\u3001\u914d\u7f6edocker-compose\u6587\u4ef6<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u89e3\u4e0b\u5c31\u662f\u7f16\u8f91compose\u6587\u4ef6&#xff0c;\u7f16\u8f91\u4e0a\u9762\u6587\u4ef6\u5939\u5185\u7684docker-compose.yml\u6587\u4ef6&#xff0c;\u4fee\u6539\u5185\u5bb9\u5982\u4e0b<\/p>\n<p>version: &#039;3.8&#039;<\/p>\n<p>services:<br \/>\n  syslog-server:<br \/>\n    image: rsyslog\/rsyslog:latest<br \/>\n    network_mode: bridge<br \/>\n    container_name: syslog-server<br \/>\n    restart: unless-stopped<br \/>\n    ports:<br \/>\n      &#8211; &#034;514:514\/udp&#034;  # UDP \u534f\u8bae\u7aef\u53e3\u6620\u5c04<br \/>\n      &#8211; &#034;514:514\/tcp&#034;  # TCP \u534f\u8bae\u7aef\u53e3\u6620\u5c04<br \/>\n    volumes:<br \/>\n      &#8211; .\/data\/remote:\/var\/log\/remote  # \u65e5\u5fd7\u6301\u4e45\u5316<br \/>\n      &#8211; .\/data\/rsyslog.conf:\/etc\/rsyslog.conf<br \/>\n    environment:<br \/>\n      &#8211; TZ&#061;Asia\/Shanghai  # \u65f6\u533a\u914d\u7f6e<\/p>\n<p>\u6587\u4ef6\u4e2d\u5199\u660e&#xff0c;\u5bb9\u5668\u955c\u50cf\u4f7f\u7528\u6211\u4eec\u524d\u9762\u62c9\u53d6\u7684\u955c\u50cfrsyslog\/rsyslog:latest&#xff0c;\u7136\u540e\u505a\u4e86UDP\u548cTCP\u7684\u7aef\u53e3\u6620\u5c04&#xff0c;\u7136\u540e\u5c31\u662f\u6570\u636e\u6301\u4e45\u5316\u548c\u5339\u914d\u6587\u4ef6\u7684\u6620\u5c04<\/p>\n<h3>4\u3001\u8fd0\u884c\u5bb9\u5668\u9a8c\u8bc1\u670d\u52a1\u5668<\/h3>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 \u6700\u540e\u5c31\u662f\u8fd0\u884c\u5bb9\u5668&#xff0c;\u8fd0\u884c\u547d\u4ee4&#xff1a;docker compose up -d\u5373\u53ef\u8fd0\u884c\u5bb9\u5668&#xff0c;\u5982\u679c\u8fd0\u884c\u6210\u529f&#xff0c;\u662fdocker ps\u53ef\u4ee5\u770b\u5230\u65b0\u5efa\u7684\u5bb9\u5668<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"170\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725041704-6a6438c0d7e42.png\" width=\"1560\" \/><\/p>\n<p>\u6b64\u65f6\u5c31\u8868\u793a\u5bb9\u5668\u642d\u5efa\u5b8c\u6210\u4e86&#xff0c;\u7136\u540e\u5c31\u662f\u6d4b\u8bd5\u4e00\u4e0b\u53d1\u9001\u65e5\u5fd7\u5230syslog\u670d\u52a1\u5668&#xff0c;\u5728\u5bbf\u4e3b\u673a\u7684\u547d\u4ee4\u884c\u6267\u884c\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p>#UDP\u534f\u8bae\u53d1\u9001\u65e5\u5fd7\u5230syslog\u65e5\u5fd7\u670d\u52a1\u5668<br \/>\nlogger -d -n 127.0.0.1 -P 514 &#034;jelly UDP test log: $(date)&#034;<\/p>\n<p>#TCP\u534f\u8bae\u53d1\u9001\u65e5\u5fd7\u5230syslog\u65e5\u5fd7\u670d\u52a1\u5668<br \/>\nlogger -n 127.0.0.1 -P 514 &#034;&#064;&#064;TCP jelly test log: $(date)&#034;<\/p>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u53bb\u5bbf\u4e3b\u673a\u6620\u5c04\u7684\u76ee\u5f55data\/remote\u76ee\u5f55\u4e0b\u9762\u7684\u6587\u4ef6\u91cc\u9762\u770b\u5230\u4e0a\u4f20\u7684\u65e5\u5fd7\u4fe1\u606f<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u6709\u4e2a\u9700\u6c42&#xff0c;\u9700\u8981\u4f7f\u7528\u5230syslog\u670d\u52a1\u5668&#xff0c;\u4e8e\u662f\u5bfb\u627e\u8d44\u6599\u5728Linux\u7cfb\u7edf\u4e0a\u642d\u5efa\u4e86\u4e00\u4e2adocker\u5bb9\u5668\u7684syslog\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\u3002\u6267\u884c\u6b65\u9aa4\u524d&#xff0c;\u4f60\u5148\u5f97\u5728Linux\u4e0a\u5b89\u88c5\u597ddocker\u8f6f\u4ef6&#xff0c;\u5b89\u88c5\u597d\u540e\u770bdocker\u7684compose\u662f\u5426\u53ef\u4ee5\u4f7f\u7528&#xff0c;\u4e0d\u884c&#xff0c;\u8fd8\u9700\u8981\u5b89\u88c5docker-compose&#xff0c;\u4e4b\u524d\u8001\u4e00\u4e9b\u7684\u7248\u672c\u5b89\u88c5\u597d\u540e\u662f\u4f7f\u7528docker-compose\u8fd9\u6837\u7528&#xff0c;\u540e\u9762\u65b0\u7248<\/p>\n","protected":false},"author":2,"featured_media":82756,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[9245,27,58,936,43],"topic":[],"class_list":["post-82759","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-syslog","tag-docker","tag-linux","tag-936","tag-43"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \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\/82759.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6700\u8fd1\u6709\u4e2a\u9700\u6c42&#xff0c;\u9700\u8981\u4f7f\u7528\u5230syslog\u670d\u52a1\u5668&#xff0c;\u4e8e\u662f\u5bfb\u627e\u8d44\u6599\u5728Linux\u7cfb\u7edf\u4e0a\u642d\u5efa\u4e86\u4e00\u4e2adocker\u5bb9\u5668\u7684syslog\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\u3002\u6267\u884c\u6b65\u9aa4\u524d&#xff0c;\u4f60\u5148\u5f97\u5728Linux\u4e0a\u5b89\u88c5\u597ddocker\u8f6f\u4ef6&#xff0c;\u5b89\u88c5\u597d\u540e\u770bdocker\u7684compose\u662f\u5426\u53ef\u4ee5\u4f7f\u7528&#xff0c;\u4e0d\u884c&#xff0c;\u8fd8\u9700\u8981\u5b89\u88c5docker-compose&#xff0c;\u4e4b\u524d\u8001\u4e00\u4e9b\u7684\u7248\u672c\u5b89\u88c5\u597d\u540e\u662f\u4f7f\u7528docker-compose\u8fd9\u6837\u7528&#xff0c;\u540e\u9762\u65b0\u7248\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/82759.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T04:17:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725041704-6a6438c0ada99.png\" \/>\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=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82759.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/82759.html\",\"name\":\"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T04:17:06+00:00\",\"dateModified\":\"2026-07-25T04:17:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/82759.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/82759.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/82759.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668\"}]},{\"@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":"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \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\/82759.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6700\u8fd1\u6709\u4e2a\u9700\u6c42&#xff0c;\u9700\u8981\u4f7f\u7528\u5230syslog\u670d\u52a1\u5668&#xff0c;\u4e8e\u662f\u5bfb\u627e\u8d44\u6599\u5728Linux\u7cfb\u7edf\u4e0a\u642d\u5efa\u4e86\u4e00\u4e2adocker\u5bb9\u5668\u7684syslog\u65e5\u5fd7\u670d\u52a1\u5668\u3002\u64cd\u4f5c\u6b65\u9aa4\u5982\u4e0b\u3002\u6267\u884c\u6b65\u9aa4\u524d&#xff0c;\u4f60\u5148\u5f97\u5728Linux\u4e0a\u5b89\u88c5\u597ddocker\u8f6f\u4ef6&#xff0c;\u5b89\u88c5\u597d\u540e\u770bdocker\u7684compose\u662f\u5426\u53ef\u4ee5\u4f7f\u7528&#xff0c;\u4e0d\u884c&#xff0c;\u8fd8\u9700\u8981\u5b89\u88c5docker-compose&#xff0c;\u4e4b\u524d\u8001\u4e00\u4e9b\u7684\u7248\u672c\u5b89\u88c5\u597d\u540e\u662f\u4f7f\u7528docker-compose\u8fd9\u6837\u7528&#xff0c;\u540e\u9762\u65b0\u7248","og_url":"https:\/\/www.wsisp.com\/helps\/82759.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T04:17:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725041704-6a6438c0ada99.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/82759.html","url":"https:\/\/www.wsisp.com\/helps\/82759.html","name":"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T04:17:06+00:00","dateModified":"2026-07-25T04:17:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/82759.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/82759.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/82759.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u642d\u5efasyslog\u65e5\u5fd7\u670d\u52a1\u5668"}]},{"@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\/82759","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=82759"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/82759\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/82756"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=82759"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=82759"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=82759"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=82759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}