VMware Networking Community
CyberNils
Hot Shot
Hot Shot

Send NSX-T Load Balancer Access Logs to Syslog

Hi,

How can I send only NSX-T Load Balancer Access Logs to Syslog? I can't see any Log Message IDs related to LB, so wonder if there is a way to only send messages related to LB. If not, which Log Message ID would include the LB access logs?

Thanks.



Nils Kristiansen
https://cybernils.net/
0 Kudos
2 Replies
CyberNils
Hot Shot
Hot Shot

This seems to do the trick:

set logging-server syslogserver:port proto udp level info messageid LB

LB is not documented as a Message ID, but looks like it works anyway.



Nils Kristiansen
https://cybernils.net/
0 Kudos
patcoq
Contributor
Contributor

Hello Nils

I was very enthusiastic when I read your post.
Unfortunately, I run NSX-T 3.1.2 and I cannot see any load-balancer related syslog messages . Neither any switching pool member states nor access log when this latter option is enabled.
Of course, I can see all other kind of syslog messages issued by the edge device.

Until now, the few syslog messages about LB service I can collect are send by NSX-T Manager.

Regards,

0 Kudos