A short burst of traffic can be hard to spot in a long packet list. In Wireshark on the Linux desktop, an I/O graph shows when the packet rate changed and how much of the traffic matched a display filter.

Wireshark groups packets by time interval. With Packets on the Y Axis and an Interval of 1 sec, each point counts the packets in one second of capture time.

Each series can have its own Display Filter. An unfiltered All Packets series gives you a baseline for comparing the traffic that matches a filter with the total at the same time.

Steps to create an I/O graph in Wireshark:

Start with a saved capture already open in Wireshark that contains a burst of known traffic at a known time, such as a series of pings. Wireshark uses its Default profile, where the built-in All Packets series has an empty Display Filter. When I/O Graphs opens, All Packets appears in the legend, Interval is set to 1 sec, and Automatic update is checked. The capture shown is office-traffic.pcapng, which contains web traffic and a burst of IPv4 pings about five seconds after the capture starts.

  1. Choose Statistics > I/O Graphs.
  2. Click the green + below the table to add a graph row.

    The new row starts with Packets on the Y Axis and Enabled unchecked.

  3. Double-click Graph Name in the new row.
  4. Type a name that identifies your traffic, replacing the selected name with a label such as Ping traffic.
  5. Press Enter to set the name.
  6. Double-click Display Filter in the row you named.
  7. Type the display filter that matches your burst traffic, such as icmp for IPv4 pings.

    A green field indicates valid filter syntax. The capture needs matching packets for the series to show activity.

  8. Press Enter to dismiss the filter suggestions if they are open.
  9. Double-click the Color swatch in the row you named.

    Opening the color picker commits the filter for that row.

  10. Choose a color that stands out from the All Packets line, such as blue.
  11. Click Select to set the color.
  12. Check Enabled in your new row to plot the filtered series.
  13. Confirm that your filtered line rises alongside All Packets at the time of the known burst.

    At 5 s in office-traffic.pcapng, All Packets reaches 20 packets and Ping traffic reaches 10 packets in the same one-second interval.

Share this guide