VMware VSHIELD APP 1.0 - API Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 132
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 19
vShield API Programming Guide
20 VMware, Inc.
Configure vShield Manager Syslog Server
YoucanconfigurevShieldManagertosendlogstoasyslogserver.Ifasyslogserverconfigurationexists,this
callupdatestheconfiguration.
Example 2-10. Configure vShield Manager syslog server
Request:
PUT https://<vsm-ip>/api/2.0/services/syslog/config
Request Body:
<?xml version="1.0" encoding="UTF-8"?>
<syslogServerConfig>
<serverInfo>10.112.200.100:1000</serverInfo>
</syslogServerConfig>
Get vShield Manager Syslog Server Configuration
YoucangetthevShieldManagersyslogserverconfiguration.
Example 2-11. Get vShield Manager syslog server configuration
Request:
GET https://<vsm-ip>/api/2.0/services/syslog/config
Delete vShield Manager Syslog Server Configuration
YoucandeletethevShieldManagersyslogserverconfiguration.
Example 2-12. Delete vShield Manager syslog server configuration
Request:
DELETE https://<vsm-ip>/api/2.0/services/syslog/config
Querying vShield Manager Logs
YoucanretrievevShieldManagersystemeventandauditlogs.
Get vShield Manager System Events
YoucanretrievevShieldManagersystemevents.
Example 2-13. Get vShieldManagersystemevents
Request:
GET https://<vsm-ip>/api/2.0/systemevent?startIndex=0\&pageSize=10
Where
start indexisanoptionalparameterwhichspecifiesthestartingpointforretrievingthelogs.Ifthis
parameterisnotspecified,logsareretrievedfromthebeginning.
page sizeisanoptionalparameterthatlimitsthemaximumnumberofentriesreturnedbytheAPI.The
defaultvalueforthisparameteris256andthevalidrangeis11024.
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 131 132

Komentarze do niniejszej Instrukcji

Brak uwag