我们经常发布文档更新,此页面的翻译可能仍在进行中。有关最新信息,请访问英文文档。如果此页面上的翻译有问题,请告诉我们
文章版本: Enterprise Server 2.20

Log forwarding

GitHub Enterprise uses syslog-ng to forward system and application logs to the server you specify in the 管理控制台 settings.

本文内容

Any log collection system that supports syslog-style log streams is supported (e.g., Logstash and Splunk).

Enabling log forwarding

  1. On the 管理控制台 settings page, in the left sidebar, click Monitoring.
  2. Select Enable log forwarding.
  3. In the Server address field, type the address of the server to which you want to forward logs. You can specify multiple addresses in a comma-separated list.
  4. In the Protocol drop-down menu, select the protocol to use to communicate with the log server. The protocol will apply to all specified log destinations.
  5. Select Enable TLS.
  6. Click Choose File and choose a CA certificate to encrypt communication between syslog endpoints. The entire certificate chain will be validated, and must terminate in a root certificate. For more information, see TLS options in the syslog-ng documentation.

Troubleshooting

If you run into issues with log forwarding, contact GitHub Enterprise 支持GitHub 高级支持 and attach the output file from http(s)://[hostname]/setup/diagnostics to your email.

问问别人

找不到要找的内容?

联系我们