mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 17:39:59 -05:00
19 lines
671 B
Markdown
19 lines
671 B
Markdown
|
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
|