VMware VSHIELD APP 1.0 - API Uživatelský manuál Strana 20

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 131 132

Komentáře k této Příručce

Žádné komentáře