Ubuntu上的Filebeat可以采集网络日志。可以通过以下方式:
/var/log/syslog
udp
tcp
filebeat.inputs: - type: udp enabled: true host: "0.0.0.0:8080"
system
access