VMware VSHIELD APP 1.0 - API Manuel d'utilisateur Page 20

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 132
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 131 132

Commentaires sur ces manuels

Pas de commentaire