VMware Cloud Community
rkuechler
Enthusiast
Enthusiast

vRO 8.6.1: How to send Workflow logs to an external Syslog server?

Hi

M vRO 8.6.1 appliance is configured to send its internal system logs to our external syslog server.
But how can configure vRO to send the Workflow / Script logs to the syslog server as well?

Thanks in advance for every tipp.

Regards
Roman

Labels (1)
Reply
0 Kudos
4 Replies
imtrinity94
Enthusiast
Enthusiast

First step would be to use Server.log()/error()/debug()/warn() instead of System.log()/error()/debug()/warn() to make their way to vRO appliance which is much more persistent in nature. Know more here.

Second, now that you have logs in server.log at location app-server\server\vmo\log [link], you can point this to your Syslog server using this vroportal.de article here. This is for Windows based older vRO versions. Login to your vRO appliance, and go inside  ..\app-server\.. location and you will get your own hierarchy and from there you will get an idea on which file to modify.

***

Check how to send logs to FTP server here.


Mayank Goyal
vRO Engineer
https://www.linkedin.com/in/mayankgoyal1994/
https://cloudblogger.co.in/
Tags (1)
Reply
0 Kudos
rkuechler
Enthusiast
Enthusiast

Thanks a lot.

I knew the article in the vcoportal but couldn't imagine that it is still valid.

One can read:

 

3. (Don’t forget to adjust the firewall settings of your vCO-Server and/or your Syslog Host if necessary, the built-in syslog appender uses UDP/514.)

 


Is there a way to change the protocol to TCP or SSL? 
And is it possible to change to port number as well?

 

 

Reply
0 Kudos
imtrinity94
Enthusiast
Enthusiast

Ok, so how did you setup the existing Syslog server in your vRO?


Mayank Goyal
vRO Engineer
https://www.linkedin.com/in/mayankgoyal1994/
https://cloudblogger.co.in/
Reply
0 Kudos
rkuechler
Enthusiast
Enthusiast

According to this documentation:

https://docs.vmware.com/en/vRealize-Orchestrator/8.4/com.vmware.vrealize.orchestrator-install-config...

There I applied the tcp:// protocol and port 1514.

Reply
0 Kudos