我们有GitHub企业设备,我们需要将GitHub日志转发到splunk可以监视的独立商店。我们怎样才能做到这一点
发布于 2019-04-04 04:03:03
您需要启用日志转发,它通过syslog从GitHub设备导出审计日志。
https://help.github.com/en/enterprise/2.16/admin/installation/log-forwarding
On the Management Console settings page, in the left sidebar, click Monitoring.
Select Enable log forwarding.
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.
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.您需要启用Splunk端的接收器来接收syslog,或者从syslog侦听器编写的文件中读取它。
https://stackoverflow.com/questions/55491849
复制相似问题