usmabison
VMware Employee
VMware Employee

Set up syslog for vcsa using powercli

Greetings Folks!

I cant seem to find any code for configuring the vcsa to send logs to a remote syslog server. Found plenty for sending esxi logs to an external syslog. Couldn't find it for VCSA. Am I missing something? It is configured through the VAMI (interactively). Looking for programmatic configuration ...

VCSA Version 7U2

Labels (2)
0 Kudos
3 Replies
leka85
Contributor
Contributor

Hi,

in my lab I was able to change it remote syslog IP in following VCSA config file:

/etc/vmware-syslog/syslog.conf

and afterwards, needed to restart rsyslog:

systemctl restart rsyslog

I am not quite sure for Powershell but try looking into something like "sed" if you're looking to replace/update lines with BASH script.

However, I don't know if that's supported, so it would be better to ask support before making changes in a production environment.

usmabison
VMware Employee
VMware Employee

Thank you  leka85 ...

Good info!

I saw that config file, and will move in that direction if there is no API solution ...

Someday ... programmability will complement our UX (and our UIs) ... meaning every UI setting has an API complement ... or maybe it does, and I just haven't found it (yet) -- sometimes these things are buried in the SDKs ...

I appreciate your help!

 

0 Kudos
scott28tt
VMware Employee
VMware Employee

0 Kudos