XO logs to external syslog
-
@julien-f
Tunnel support # is 44423 -
@lawrencesystems There was a typo in our blog post (and our sample config), the section should be
logs.transport.syslog
and notlog.transport.syslog
.Also, you should not change the config in
xo-server
's directory, only in/etc/xo-server/
.I have fixed both issues for you, you only need to restart
xo-server
Keep me posted.
-
@julien-f
I rebooted and I have tested both tcp:// and udp:// and it's not sending anything. Also checked using ss -t to and I don't see any TCP connection going to the logging server. Support # is 44423 -
@lawrencesystems There is a bug, a dependency is missing: https://github.com/vatesfr/xen-orchestra/commit/ccafc15b669cf71ab1ec68cdc81d887bc829b2b2
I've installed the correct dependency on your appliance, please restart
xo-server
and keep me postedKeep in mind that you should be able to edit the log config without having to restart
xo-server
-
Thanks, that fixed it!
-
@lawrencesystems Thank you for your report!
-
@julien-f I am still not seeing syslog traffic either.
My XOA is patched to the latest release and I am defining [logs.transport.syslog] in my config file. -
@chromerooster we are about to release a patch version on
latest
this week. It will fix itSo hang on!
-
It is released! Kudos to the XO team (and @Danp for spotting another quirk)
-
-
Hi,
Does this work nowadays in XOA ? I'm on latest update, did modify /etc/xo-server/config.toml like so (last lines) :
But bothing comes from XOA to my Graylog server (I have all 7 XCP hosts okay to this same server)Xo-server restarted... XOA rebooted... still nothing incoming.