Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Syslog captures nothing
« previous
next »
Print
Pages: [
1
]
Author
Topic: Syslog captures nothing (Read 175 times)
verfluchten
Newbie
Posts: 39
Karma: 0
Syslog captures nothing
«
on:
November 03, 2024, 05:18:22 pm »
I enabled a remote syslog that is used by many sources on my LAN.
Added a target, selected all in all of the dropdowns, i.e. every application, facility, level, or whatnot is selected.
Still not a single new entry comes to the syslog server from opnsense.
What is required to log to an external syslog server?
Logged
EricPerl
Jr. Member
Posts: 88
Karma: 2
Re: Syslog captures nothing
«
Reply #1 on:
November 03, 2024, 10:38:45 pm »
I just tried.
System > Settings > Logging > Remote
Added a destination with transport matching my syslog server (UDP4), all apps/levels/facilities, IP/port of the server, description, then Save
Apply
Entries appeared within seconds of adjustments to FW rules on my primary network (I'm still in experimentation mode). Due to my experiments, the destination is on the WAN side, but I don't expect this to be relevant.
My syslog server is setup to accept new originators automatically, so I didn't have to do anything there (but cleanup afterwards).
«
Last Edit: November 03, 2024, 10:40:58 pm by EricPerl
»
Logged
EricPerl
Jr. Member
Posts: 88
Karma: 2
Re: Syslog captures nothing
«
Reply #2 on:
November 03, 2024, 11:46:37 pm »
Oh, and System > Log Files > General features entries from syslog-ng when configuration changes were applied. In particular, the destination server is listed.
System > Configuration > History shows the various steps too (change & apply).
Logged
verfluchten
Newbie
Posts: 39
Karma: 0
Re: Syslog captures nothing
«
Reply #3 on:
November 04, 2024, 02:37:14 pm »
Quote from: EricPerl on November 03, 2024, 10:38:45 pm
I just tried.
You are right! I did not realize that I had to follow a 3-step enablement process for syslog: create target, enable it, apply it.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Syslog captures nothing