Where are log files system / openvpn / firewall saved?
-
Hi everyone,
I am trinking to configure a log server and send to it system / openvpn / firewall logs. Can I do this configuring pfSense?
If not, can someboy tell me where are saved these log files to extract the info that I need via console?
Best regards
-
Status / system logs / settings
you can send the logs to a remote server
you need to enable firewall events and VPN events if you need them
all the firewall logs are under status / system logs / firewall
you can filter by interface for example -
Hi @kiokoman
If I send the logs to e remote server I can show the logs in pfsense too?
The remote server must be a syslog server, isn't it?
Best regards
-
yes,
yes, or anything that can understand syslog like logstash for example -
@kiokoman said in Where are log files system / openvpn / firewall saved?:
Status / system logs / settings
you can send the logs to a remote server
you need to enable firewall events and VPN events if you need them
all the firewall logs are under status / system logs / firewall
you can filter by interface for exampleHi @kiokoman
Do you know where are saved all log files?
Regards,
-
https://docs.netgate.com/pfsense/en/latest/monitoring/logs/manage.html#viewing-log-contents-2-5-0-clog
2.4.5 use a binary circular log format known as clog to maintain a constant log size without the need for rotation
-
@ramses-sevilla said in Where are log files system / openvpn / firewall saved?:
Do you know where are saved all log files?
Here :
Or here :
/var/log/
( as any othor unix/linix/freebsd/openbsd/etc OS)
Note that :
@kiokoman said in Where are log files system / openvpn / firewall saved?:
2.4.5 use a binary circular log format known as clog to maintain a constant log size without the need for rotation
is a silent hint that explains the need of a quick Google lookup.
Or reading the pfSense manual. As https://docs.netgate.com/pfsense/en/latest/monitoring/logs/manage.html or https://docs.netgate.com/manuals/pfsense/en/latest/the-pfsense-documentation.pdf page 139