1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 17:39:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/logforwarding
Tianhao He f1032b4e43 vSphere 6.7 Release
Signed-off-by: Tianhao He <het@vmware.com>
2018-04-17 11:01:27 -07:00
..
log_forwarding.py vSphere 6.7 Release 2018-04-17 11:01:27 -07:00
README.md vSphere 6.7 Release 2018-04-17 11:01:27 -07:00

This directory contains samples for log forwarding APIs:

* Create log forwarding configurations
* View log forwarding configurations
* Update log forwarding configurations
* Test log forwarding configurations

To view the available command-line options:

$ python logforwarding/logforwarding.py --help

Running the samples:

$ python logforwarding/logforwarding.py --server <vCenter Server IP> --username <username> --password <password> --loghost <log host> --port <log host port> --protocol <log protocol>
  • Testbed Requirement:
    • 1 vCenter Server
    • Log host listening to syslog packets over any of the supported protocols UDP/TCP/TLS