Skip to content

Sample pktvisor Output Data

Shannon Weyrick edited this page Jun 28, 2021 · 14 revisions

This page contains samples of data as it comes out of the pktvisor agent. You can find OpenAPI documentation here. There is also a list of Current Metrics.

JSON (pktvisor version 3.2.1)

http://localhost:10853/api/v1/metrics/bucket/1

{
  "1m": {
    "dns": {
      "cardinality": {
        "qname": 6
      },
      "period": {
        "length": 60,
        "start_ts": 1624888107
      },
      "rates": {
        "total": {
          "p50": 0,
          "p90": 0,
          "p95": 2,
          "p99": 6
        }
      },
      "top_nxdomain": [],
      "top_qname2": [
        {
          "estimate": 8,
          "name": ".google.com"
        },
        {
          "estimate": 4,
          "name": ".akamaiedge.net"
        },
        {
          "estimate": 2,
          "name": ".akamai.net"
        },
        {
          "estimate": 2,
          "name": ".akadns.net"
        }
      ],
      "top_qname3": [
        {
          "estimate": 6,
          "name": ".l.google.com"
        },
        {
          "estimate": 2,
          "name": ".g.akamaiedge.net"
        },
        {
          "estimate": 2,
          "name": ".dsce9.akamaiedge.net"
        },
        {
          "estimate": 2,
          "name": ".com.akadns.net"
        },
        {
          "estimate": 2,
          "name": "play.google.com"
        },
        {
          "estimate": 2,
          "name": ".w10.akamai.net"
        }
      ],
      "top_qtype": [
        {
          "estimate": 10,
          "name": "A"
        },
        {
          "estimate": 6,
          "name": "HTTPS"
        }
      ],
      "top_rcode": [
        {
          "estimate": 8,
          "name": "NOERROR"
        }
      ],
      "top_refused": [],
      "top_srvfail": [],
      "top_udp_ports": [
        {
          "estimate": 2,
          "name": "39783"
        },
        {
          "estimate": 2,
          "name": "62267"
        },
        {
          "estimate": 2,
          "name": "28914"
        },
        {
          "estimate": 2,
          "name": "12376"
        },
        {
          "estimate": 2,
          "name": "48547"
        },
        {
          "estimate": 2,
          "name": "48864"
        },
        {
          "estimate": 2,
          "name": "8050"
        },
        {
          "estimate": 2,
          "name": "39344"
        }
      ],
      "wire_packets": {
        "deep_samples": 16,
        "ipv4": 16,
        "ipv6": 0,
        "noerror": 8,
        "nxdomain": 0,
        "queries": 8,
        "refused": 0,
        "replies": 8,
        "srvfail": 0,
        "tcp": 0,
        "total": 16,
        "udp": 16
      },
      "xact": {
        "counts": {
          "timed_out": 0,
          "total": 8
        },
        "in": {
          "top_slow": [],
          "total": 0
        },
        "out": {
          "quantiles_us": {
            "p50": 19434,
            "p90": 26178,
            "p95": 26178,
            "p99": 26178
          },
          "top_slow": [],
          "total": 8
        }
      }
    },
    "packets": {
      "cardinality": {
        "dst_ips_out": 41,
        "src_ips_in": 43
      },
      "deep_samples": 3139,
      "in": 1422,
      "ipv4": 2506,
      "ipv6": 0,
      "other_l4": 637,
      "out": 1083,
      "period": {
        "length": 60,
        "start_ts": 1624888107
      },
      "rates": {
        "pps_in": {
          "p50": 12,
          "p90": 46,
          "p95": 151,
          "p99": 202
        },
        "pps_out": {
          "p50": 12,
          "p90": 41,
          "p95": 45,
          "p99": 98
        },
        "pps_total": {
          "p50": 32,
          "p90": 94,
          "p95": 205,
          "p99": 299
        }
      },
      "tcp": 549,
      "top_ASN": [
        {
          "estimate": 996,
          "name": "36236/NETACTUATE"
        },
        {
          "estimate": 636,
          "name": "6128/CABLE-NET-1"
        },
        {
          "estimate": 272,
          "name": "15169/GOOGLE"
        },
        {
          "estimate": 186,
          "name": "60068/Datacamp Limited"
        },
        {
          "estimate": 135,
          "name": "16625/AKAMAI-AS"
        },
        {
          "estimate": 88,
          "name": "14618/AMAZON-AES"
        },
        {
          "estimate": 63,
          "name": "19551/INCAPSULA"
        },
        {
          "estimate": 27,
          "name": "6461/ZAYO-6461"
        },
        {
          "estimate": 24,
          "name": "6185/APPLE-AUSTIN"
        },
        {
          "estimate": 21,
          "name": "714/APPLE-ENGINEERING"
        }
      ],
      "top_geoLoc": [
        {
          "estimate": 996,
          "name": "AS/Hong Kong/HCW/Central"
        },
        {
          "estimate": 636,
          "name": "NA/United States/TX/Austin"
        },
        {
          "estimate": 528,
          "name": "NA/United States"
        },
        {
          "estimate": 186,
          "name": "EU/Czechia/10/Prague"
        },
        {
          "estimate": 88,
          "name": "NA/United States/VA/Ashburn"
        },
        {
          "estimate": 36,
          "name": "NA/United States/NY/New York"
        },
        {
          "estimate": 10,
          "name": "NA/United States/VA"
        },
        {
          "estimate": 8,
          "name": "NA/United States/CA/Mountain View"
        },
        {
          "estimate": 4,
          "name": "NA/United States/FL"
        },
        {
          "estimate": 4,
          "name": "NA/United States/CA"
        }
      ],
      "top_ipv4": [
        {
          "estimate": 996,
          "name": "103.6.85.201"
        },
        {
          "estimate": 636,
          "name": "104.123.64.200"
        },
        {
          "estimate": 186,
          "name": "89.187.189.231"
        },
        {
          "estimate": 111,
          "name": "23.43.252.68"
        },
        {
          "estimate": 85,
          "name": "34.102.140.197"
        },
        {
          "estimate": 81,
          "name": "172.217.3.106"
        },
        {
          "estimate": 63,
          "name": "199.83.128.57"
        },
        {
          "estimate": 46,
          "name": "142.250.176.206"
        },
        {
          "estimate": 40,
          "name": "3.82.33.168"
        },
        {
          "estimate": 29,
          "name": "54.87.197.95"
        }
      ],
      "top_ipv6": [],
      "total": 3139,
      "udp": 1953
    },
    "pcap": {
      "if_drops": 0,
      "os_drops": 0,
      "period": {
        "length": 60,
        "start_ts": 1624888107
      },
      "tcp_reassembly_errors": 29
    },
    "period": {
      "length": 60,
      "start_ts": 1624888107
    }
  }
}
Clone this wiki locally