5.10. The Packet Format Frame
Prev | Chapter 5. File Input, Output, And Printing | Next

## 5.10. The Packet Format Frame

The packet format frame is also a part of the “Export Packet Dissections” and “Print” dialog boxes. You can use it to specify which parts of dissection are exported or printed.

Figure 5.18. The “Packet Format” frame

Each of the settings below corresponds to the packet list, packet detail, and packet bytes in the main window.

Packet summary line

  Export or print each summary line as shown in the “Packet List” pane.

  Include column headings
    Include the column headers before each packet summary line.
Packet details

  Export or print the contents of the “Packet Details” tree.

  All collapsed
    Export or print as if the “Packet Details” tree is in the “all collapsed” state.
  As displayed
    Export or print each packet as if its “Packet Details” tree were expanded in the same way as the most recently selected packet.
  All expanded
    Export or print as if the “Packet Details” tree is in the “all expanded” state.
Packet Bytes

  Export or print the contents of the “Packet Bytes” pane.

  Include secondary data sources
    Export or print the contents of all tabs of “Packet Bytes” pane, each preceded by the tab label. When unchecked, export or print only the first tab, which contains the frame data directly from the capture file, and not the other tabs, which contain secondary data sources such as decrypted, reassembled, or aligned data.
  Include timestamp preamble
    Export or print each packet timestamp on a line before the “Packet Bytes” contents, using the time format from View → Time Display Format.
Each packet on a new page
  For printing and some export formats, put each packet on a separate page. For example, when exporting to a text file this will put a form feed character between each packet.
Capture information header
  Add a header to each page with capture filename and the number of total packets and shown packets.

### 5.10.1. JSON Format Options

When JSON is selected as the export format, the "Packet Format" panel shows JSON-specific options:

No duplicate keys
  Merge duplicate keys in a JSON object into a single key whose value is a JSON array containing all values.
Compact (no indentation)
  Output compact JSON without indentation or extra whitespace. This significantly reduces output size and improves export performance.
Values
  Export a name/value pair for each field with the decoded field value.
Raw Bytes
  Export a name/value pair for each field with the raw hex bytes of its packet data.

Prev | Up | Next
5.9. The “Packet Range” Frame | Home | Chapter 6. Working With Captured Packets