{
  "changes": [],
  "conditions": [],
  "fieldGroups": [
    {
      "id": "connection",
      "title": "Connection"
    },
    {
      "id": "process",
      "title": "Owning process"
    },
    {
      "id": "traffic",
      "title": "Traffic"
    },
    {
      "id": "tcp_health",
      "title": "TCP health"
    },
    {
      "id": "round_trip",
      "title": "Round trip"
    }
  ],
  "fieldPrefix": "sparklogs.data.top_network_connections.",
  "fields": [
    {
      "doc": "The row's key: a label for the TCP connection, with the remote address shown under the workspace's privacy setting. The local end comes first; `->` marks an outbound connection, `<-` an inbound one and `--` an unknown direction.",
      "group": "connection",
      "name": "connection",
      "type": "string"
    },
    {
      "doc": "What the row is: `connection` (one TCP connection), `process_internet` (one process's internet connections to one port, combined) or `remainder` (everything not listed, one per scope). TCP only; UDP and QUIC are not counted.",
      "group": "connection",
      "name": "entry_kind",
      "type": "string"
    },
    {
      "doc": "The protocol these rows measure: always `tcp`.",
      "group": "connection",
      "name": "transport",
      "type": "string"
    },
    {
      "doc": "The rankings that listed this row: `rx` and `tx` each list the ten busiest; `total` fills up to forty rows above a minimum traffic rate; `struggling` lists up to five more connections in trouble and also tags listed rows that are. A connection is struggling when, over the window, it had at least two retransmit timeouts, a timeout in this window and the one before, a high share of resent data while sending a meaningful amount, or a stall it recovered from (repeated timeouts, then data getting through again). One timeout on an otherwise quiet connection, such as a pooled keep-alive, does not count, and duplicate acknowledgments never do. A `process_internet` row is struggling when one of its connections is. A connection that closed during the window can still be listed. Empty on remainders.",
      "group": "connection",
      "name": "top_by",
      "type": "string_array"
    },
    {
      "doc": "`inbound` or `outbound`, worked out from the ports the same process listens on. Absent when the agent could not tell, or combined connections disagree.",
      "group": "connection",
      "name": "direction",
      "type": "string"
    },
    {
      "doc": "`internet` for a public remote address, `local` for any other.",
      "group": "connection",
      "name": "scope",
      "type": "string"
    },
    {
      "doc": "The connection's IP family: `ipv4` or `ipv6`. Absent on combined and remainder rows.",
      "group": "connection",
      "name": "family",
      "type": "string"
    },
    {
      "doc": "This machine's address on the connection, with any IPv6 scope ID. Absent on combined and remainder rows.",
      "group": "connection",
      "name": "local_address",
      "type": "string"
    },
    {
      "doc": "This machine's TCP port; on an inbound combined row, the listening port. Absent on outbound or unknown-direction combined rows and on remainders.",
      "group": "connection",
      "name": "local_port",
      "type": "integer"
    },
    {
      "doc": "The remote address: in full for a non-public address; for a public one, in full, as a prefix or as an opaque ID, per the workspace's privacy setting. Absent on combined and remainder rows.",
      "group": "connection",
      "name": "remote_address",
      "type": "string"
    },
    {
      "doc": "The remote TCP port; on an outbound combined row, the service port. Absent on inbound or unknown-direction combined rows and on remainders.",
      "group": "connection",
      "name": "remote_port",
      "type": "integer"
    },
    {
      "doc": "The workspace's privacy setting for remote addresses when the window closed: `full`, `prefix`, `opaque` or `aggregate`.",
      "group": "connection",
      "name": "destination_mode",
      "type": "string"
    },
    {
      "doc": "The ID of the process that owns the connection, as Windows reports it. Absent on remainders and when combined connections disagree. Connections served by kernel-mode servers, such as SMB, show as System.",
      "group": "process",
      "name": "pid",
      "type": "integer"
    },
    {
      "doc": "When the owning process started, in UTC. Absent when the agent could not confirm the process, or combined connections disagree.",
      "group": "process",
      "name": "create_time_ts",
      "type": "string",
      "unit": "timestamp"
    },
    {
      "doc": "The owning process's executable file name. Absent when the agent could not confirm the process, or combined connections disagree; when absent but `image_path` is present, take the file name from the path.",
      "group": "process",
      "name": "image_name",
      "type": "string"
    },
    {
      "doc": "The full path of the owning process's executable. Absent when the agent could not confirm the process, or combined connections disagree. The agent never collects command-line arguments.",
      "group": "process",
      "name": "image_path",
      "type": "string"
    },
    {
      "doc": "How many connections with traffic this row covers. Absent on remainders, which have no exact count.",
      "group": "traffic",
      "name": "connections",
      "type": "integer"
    },
    {
      "doc": "TCP payload received over the measured part of the 5-minute window. When the agent tracks more connections than it can list, the remainder rows carry the bytes of those left out.",
      "group": "traffic",
      "name": "rx_bytes_5m",
      "type": "integer",
      "unit": "bytes"
    },
    {
      "doc": "TCP payload sent over the measured part of the 5-minute window, resent data included. When the agent tracks more connections than it can list, the remainder rows carry the bytes of those left out.",
      "group": "traffic",
      "name": "tx_bytes_5m",
      "type": "integer",
      "unit": "bytes"
    },
    {
      "doc": "The average rate TCP payload was received over the measured part of the window.",
      "group": "traffic",
      "name": "rx_bytes_per_s_avg",
      "type": "float",
      "unit": "bytes_per_second"
    },
    {
      "doc": "The average rate TCP payload was sent over the measured part of the window, resent data included.",
      "group": "traffic",
      "name": "tx_bytes_per_s_avg",
      "type": "float",
      "unit": "bytes_per_second"
    },
    {
      "doc": "Resent payload as a percentage of payload sent, at most 100. A minimum divisor keeps a nearly idle connection's one resent segment from reading as a large share. 0 when nothing was sent.",
      "group": "tcp_health",
      "name": "tcp_retransmit_pct_avg",
      "type": "float",
      "unit": "percent"
    },
    {
      "doc": "Retransmit timeouts in the window: a stall, as opposed to the quick resends of mild loss. Counted only while the connection was sending data, so connection attempts and keep-alives add none. Adds up across windows and rows. 0 when none.",
      "group": "tcp_health",
      "name": "tcp_timeouts",
      "type": "integer",
      "unit": "count"
    },
    {
      "doc": "Runs of duplicate acknowledgments this machine sent, each a segment lost or reordered on its way here (download loss). Counted only for connections that received a meaningful amount of data in the window, so keep-alive traffic adds none. Read against `tcp_data_segments_in_5m`. Adds up across windows and rows. 0 when none were counted; absent when the receive statistics could not be read for this row's connections.",
      "group": "tcp_health",
      "name": "tcp_dup_ack_episodes",
      "type": "integer",
      "unit": "count"
    },
    {
      "doc": "Segments carrying data that this row's connections received in the window, resent ones included, counting the same connections as the duplicate-acknowledgment count. Adds up across windows and rows. 0 when those connections received too little to count.",
      "group": "tcp_health",
      "name": "tcp_data_segments_in_5m",
      "type": "integer",
      "unit": "count"
    },
    {
      "doc": "On a remainder only: how many of its connections had at least one retransmit timeout, showing how many more connections stalled than the listed rows name. 0 when none.",
      "group": "tcp_health",
      "name": "timeout_connections",
      "type": "integer",
      "unit": "count"
    },
    {
      "doc": "The average round-trip time over the window's samples. Absent without a sample.",
      "group": "round_trip",
      "name": "rtt_ms_avg",
      "type": "float",
      "unit": "milliseconds"
    },
    {
      "doc": "How many round-trip samples the average is taken from. Adds up across windows and rows. 0 when none.",
      "group": "round_trip",
      "name": "rtt_sample_count",
      "type": "integer",
      "unit": "count"
    },
    {
      "doc": "The lowest round-trip time any of the row's connections measured since the agent began tracking it, in whole milliseconds (a LAN often reads 0). It does not reset, so on a long-lived connection a rise in `rtt_ms_avg` above it shows a slower path or queueing, but only when the connection was sending enough data per sample; on light traffic the gap is the peer's delayed acknowledgment. Absent without a sample, and on remainders.",
      "group": "round_trip",
      "name": "rtt_min_ms",
      "type": "integer",
      "unit": "milliseconds"
    }
  ],
  "name": "Top network connections",
  "occurrences": [],
  "page": "/docs/it-fleet-intelligence/reference/topics/top-network-connections",
  "status": "live",
  "summary": "TCP payload traffic leaders by process and destination, with measured local and internet remainders.",
  "topic": "top_network_connections"
}
