vCenter

 View Only
  • 1.  Set up syslog for vcsa using powercli

    Broadcom Employee
    Posted Apr 20, 2021 03:22 PM

    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



  • 2.  RE: Set up syslog for vcsa using powercli

    Posted May 05, 2021 08:30 AM

    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.



  • 3.  RE: Set up syslog for vcsa using powercli

    Broadcom Employee
    Posted May 05, 2021 11:56 AM

    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!

     



  • 4.  RE: Set up syslog for vcsa using powercli

    Broadcom Employee
    Posted May 05, 2021 08:10 PM