Statistics

Json structures

Global statistics json structure

{
        "rx_octets_good": 0,
        "rx_octets_all": 0,
        "rx_frame_good": 0,
        "rx_frame_error": 0,
        "rx_frame_all": 0,
        "rx_frame_unrouted": 0,
        "rx_bandwidth": 0,
        "tx_octets_good": 0,
        "tx_octets_all": 0,
        "tx_frame_good": 0,
        "tx_frame_error": 0,
        "tx_frame_all": 0,
        "tx_bandwidth": 0,
        "buffer_frame_drop": 0,
}

Port file statistics json structure

name, rx_usage, tx_usage, rx_ber, buffer_frame_drop, frame_crc_error, rx_bandwidth, rx_fragments, rx_frame_all, rx_frame_bc, rx_frame_error, rx_frame_good, rx_frame_jabber, rx_frame_len_0_64, rx_frame_len_1024_9216, rx_frame_len_128_255, rx_frame_len_256_511, rx_frame_len_512_1023, rx_frame_len_65_127, rx_frame_mc, rx_frame_oversize, rx_frame_pause, rx_frame_uc, rx_frame_undersize, rx_frame_unrouted, rx_octets_all, rx_octets_good, tx_bandwidth, tx_frame_all, tx_frame_bc, tx_frame_error, tx_frame_good, tx_frame_len_0_64, tx_frame_len_1024_9216, tx_frame_len_128_255, tx_frame_len_256_511, tx_frame_len_512_1023, tx_frame_len_65_127, tx_frame_mc, tx_frame_pause, tx_frame_uc, tx_octets_all, tx_octets_good
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

Port statistics json structure

[
    {
        "id": 11,
        "rx_octets_good": 0,
        "rx_octets_all": 0,
        "rx_frame_good": 0,
        "rx_frame_error": 0,
        "rx_frame_all": 0,
        "rx_frame_pause": 0,
        "rx_frame_bc": 0,
        "rx_frame_mc": 0,
        "rx_frame_uc": 0,
        "rx_frame_oversize": 0,
        "rx_frame_undersize": 0,
        "rx_frame_jabber": 0,
        "rx_frame_len_0_64": 0,
        "rx_frame_len_65_127": 0,
        "rx_frame_len_128_255": 0,
        "rx_frame_len_256_511": 0,
        "rx_frame_len_512_1023": 0,
        "rx_frame_len_1024_9216": 0,
        "rx_frame_unrouted": 0,
        "rx_fragments": 0,
        "rx_ber": 0,
        "rx_usage": 0,
        "rx_bandwidth": 0,
        "tx_octets_good": 0,
        "tx_octets_all": 0,
        "tx_frame_good": 0,
        "tx_frame_error": 0,
        "tx_frame_all": 0,
        "tx_frame_pause": 0,
        "tx_frame_bc": 0,
        "tx_frame_mc": 0,
        "tx_frame_uc": 0,
        "tx_frame_len_0_64": 0,
        "tx_frame_len_65_127": 0,
        "tx_frame_len_128_255": 0,
        "tx_frame_len_256_511": 0,
        "tx_frame_len_512_1023": 0,
        "tx_frame_len_1024_9216": 0,
        "tx_bandwidth": 0,
        "tx_usage": 0,
        "frame_crc_error": 0,
        "buffer_frame_drop": 0,
    }
]

Bandwidth statistics json structure

[
    {
        "label": 1555487672,
        "id": 1,
        "rx_bandwidth": 0,
        "tx_bandwidth": 0
    },
    {
        "label": 1555487677,
        "id": 2,
        "rx_bandwidth": 0,
        "tx_bandwidth": 0
    }
]

Back to X2-SERIES API Home