Skip to main content
POST
/
statistics
/
nat_traffic
Get NAT traffic Statistics
curl --request POST \
  --url https://api.example.com/statistics/nat_traffic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "since": "2023-11-07T05:31:56Z",
  "until": "2023-11-07T05:31:56Z",
  "column": [
    "rx_bps"
  ],
  "filters": {
    "vrf_name": "<string>",
    "rule_name": "<string>",
    "tenant_name": "<string>"
  },
  "sample_rate": "auto",
  "flags": {
    "group_by_rule_name": true
  }
}
'
{
  "sample_rate": "<string>",
  "samples": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
since
string<date-time>
required
until
string<date-time>
required
column
enum<string>[]
required
Available options:
rx_bps,
rx_pps,
rx_bytes,
rx_packets,
tx_bps,
tx_pps,
tx_bytes,
tx_packets
filters
StatisticsNatFilters · object
required
sample_rate
enum<string>
default:auto

Enum defining the sample rate in any Statistics API request

Available options:
auto,
10s,
30s,
1m,
5m,
15m,
1h
flags
StatisticsNatTraficFlags · object

Response

Successful Response

sample_rate
string
required
samples
Samples · object[]