我有FortiOS 5.06的Fortigate 100D,这是我的设置
config log syslogd setting set status enable set server “192.168.7.4″ set reliable disable set port 515 set csv disable set facility alert set source-ip 192.168.9.2 end
我有一个Splunk服务器192.168.7.4端口515 TCP侦听,我的交换机可以正常转发他们的日志到Splunk,但我不能让Fortigate工作。 Splunk服务器不会收到来自Fortigate的任何日志。
设置reliable disable = UDP ,需要设置reliable enable = tcp
从fortinet CLI手册:
可靠{禁用| enable}启用将系统日志消息可靠传送到系统日志服务器。 当启用时,FortiGate设备实现RFC 3195的RAWconfiguration文件,使用TCP协议发送日志消息。
系统日志通常是UDP 514,并且Splunk在设置使用它的时候可以正常工作。