Stream Server Zones
Method GET

Return status of all stream server zones

Returns status information for each stream server zone.

get/stream/server_zones/

Query parameters

fieldsstring

Limits which fields of server zones will be output. If the “<literal>fields</literal>” value is empty, then only server zone names will be output.

Response

Success

NginxStreamServerZonesMap required

Status information for all stream <a href="https://nginx.org/en/docs/http/ngx_http_api_module.html#status_zone">status zones</a>.

Example response

{
  "mysql-frontend": {
    "processing": 2,
    "connections": 270925,
    "sessions": {
      "2xx": 155564,
      "4xx": 0,
      "5xx": 0,
      "total": 270925
    },
    "discarded": 0,
    "received": 28988975,
    "sent": 3879346317,
    "ssl": {
      "handshakes": 76455,
      "handshakes_failed": 432,
      "session_reuses": 28770,
      "no_common_protocol": 4,
      "no_common_cipher": 2,
      "handshake_timeout": 0,
      "peer_rejected_cert": 0,
      "verify_failures": {
        "no_cert": 0,
        "expired_cert": 2,
        "revoked_cert": 1,
        "other": 1
      }
    }
  },
  "dns": {
    "processing": 1,
    "connections": 155569,
    "sessions": {
      "2xx": 155564,
      "4xx": 0,
      "5xx": 0,
      "total": 155569
    },
    "discarded": 0,
    "received": 4200363,
    "sent": 20489184,
    "ssl": {
      "handshakes": 2040,
      "handshakes_failed": 23,
      "session_reuses": 65,
      "no_common_protocol": 4,
      "no_common_cipher": 2,
      "handshake_timeout": 0,
      "peer_rejected_cert": 0,
      "verify_failures": {
        "no_cert": 0,
        "expired_cert": 2,
        "revoked_cert": 1,
        "other": 1
      }
    }
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.