NSX-T Data Center REST API

SyslogConfiguration (type)

{
  "additionalProperties": false, 
  "description": "Syslog server configuration parameters", 
  "id": "SyslogConfiguration", 
  "module_id": "FabricNode", 
  "properties": {
    "facility": {
      "description": "List of syslog server facilities.", 
      "items": {
        "enum": [
          "KERN", 
          "USER", 
          "MAIL", 
          "DAEMON", 
          "AUTH", 
          "SYSLOG", 
          "LPR", 
          "NEWS", 
          "UUCP", 
          "AUTHPRIV", 
          "FTP", 
          "CRON", 
          "LOCAL0", 
          "LOCAL1", 
          "LOCAL2", 
          "LOCAL3", 
          "LOCAL4", 
          "LOCAL5", 
          "LOCAL6", 
          "LOCAL7"
        ], 
        "type": "string"
      }, 
      "nsx_feature": "SyslogFacilityMsgIdAndStructData", 
      "required": false, 
      "title": "Syslog facility", 
      "type": "array"
    }, 
    "log_level": {
      "default": "INFO", 
      "description": "Log level that needs to be redirected.", 
      "enum": [
        "EMERGENCY", 
        "ALERT", 
        "CRITICAL", 
        "ERROR", 
        "WARNING", 
        "NOTICE", 
        "INFO", 
        "DEBUG"
      ], 
      "required": false, 
      "title": "Log level to be redirected", 
      "type": "string"
    }, 
    "message_id": {
      "description": "List of syslog server message ids.", 
      "items": {
        "type": "string"
      }, 
      "nsx_feature": "SyslogFacilityMsgIdAndStructData", 
      "required": false, 
      "title": "Syslog message id", 
      "type": "array"
    }, 
    "name": {
      "Description": "Display name given to the syslog server.\n", 
      "deprecated": true, 
      "required": false, 
      "title": "Display name of the syslog server", 
      "type": "string"
    }, 
    "port": {
      "$ref": "PortElement, 
      "default": "514", 
      "description": "Syslog server listening port.", 
      "required": false, 
      "title": "Syslog server port"
    }, 
    "protocol": {
      "default": "UDP", 
      "description": "Supported Syslog protocol.", 
      "enum": [
        "TCP", 
        "UDP", 
        "TLS", 
        "LI", 
        "LI_TLS"
      ], 
      "required": false, 
      "title": "Syslog protocol", 
      "type": "string"
    }, 
    "server": {
      "description": "Syslog server Ip or fqdn.", 
      "required": true, 
      "title": "Server Ip or fqdn", 
      "type": "string"
    }, 
    "structured_data": {
      "description": "List of syslog server structured data.", 
      "items": {
        "$ref": "KeyValuePair
      }, 
      "nsx_feature": "SyslogFacilityMsgIdAndStructData", 
      "required": false, 
      "title": "Syslog server structured data", 
      "type": "array"
    }
  }, 
  "title": "Syslog server configuration", 
  "type": "object"
}