Hello i have project that work with fortigate and filebeat
i want to collect sys_log from fortigate into filebeat
my configuration
fortigate
config log syslogd setting
set status enable
set server filebeat_server
set mode reliable
next
end
filebeat
type: syslog
enabled: true
host: ":"
protocol.udp:
max_message_size: 10MiB
but it look like not work as well as
Rios
(Rios)
January 5, 2024, 10:53pm
2
Which FB version are you using?
Have you enabled the fortinet module?
filebeat modules enable fortinet
If you still want pure syslog:
filebeat.inputs:
- type: syslog
enabled: true
format: auto
protocol.udp:
host: "0.0.0.0:514"
For test purpose,until data is received, you can set the console output:
output.console:
pretty: true
Make sure that your data is coming to the FB host.
netstat -ulpn | grep ':<portnum>'
Dy_Vanrith
(Dy Vanrith)
January 12, 2024, 8:31am
3
My file beat using version 8.10.3.
Rios
(Rios)
January 12, 2024, 9:10am
4
That is relatively new, shouldn't be issues.
Set correct filebeat.yml and make sure that the traffic is coming to the FB host
Dy_Vanrith
(Dy Vanrith)
January 12, 2024, 9:18am
5
I want to confirm from you again.
my fortigate config is
config log syslogd setting
set status enable
set server filebeat_server
set mode reliable
next
end
and filebeat.yml
filebeat.inputs:
type: syslog
enabled: true
format: auto
protocol.udp:
host: "0.0.0.0:514"
output.console:
pretty: true
and for me i make sure that traffic that send from fortigate must be listen by filebeat right?
Thanks u in advance!!
Rios
(Rios)
January 12, 2024, 10:11am
6
Dy_Vanrith:
mode reliable
This means it will send over TCP.
Change in filebeat.yml:
filebeat.inputs:
- type: syslog
enabled: true
format: auto
protocol.tcp:
host: "0.0.0.0:514"
system
(system)
Closed
February 9, 2024, 12:11pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.