1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-24 10:19:59 -05:00
vsphere-automation-sdk-python/samples/vsphere/logforwarding
het 18b2ed120a Remove tabulate from the dependency list
Signed-off-by: het <het@vmware.com>
2018-11-22 15:51:29 +08:00
..
log_forwarding.py Remove tabulate from the dependency list 2018-11-22 15:51:29 +08: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