Ask Your Question

Revision history [back]

Bytes as Mb in output result

Hi experts, i was trying to add the best title but is hard to explain in a few letters.

My question is about the wireshark output result as JSON, i was trying to do it but sadly the size is more than 1GB so i send it as txt with the following command:

tshark -r file_from_wireshark.pcapng -q -z conv,ip > output.txt

output.txt:

IPv4 Conversations Filter:<no filter=""> | <- | | -> | | Total | Relative | Duration | | Frames Bytes | | Frames Bytes | | Frames Bytes | Start | | pageRandom <-> host.testing.internal 62393 89805838 29608 1787542 92001 91593380 0.000000000

1) Is there anyway to get only total bytes: 89805838 ??

2) is there an option to change it to MB instead of bytes?

3) Is there any way to get this as JSON, just with the information generated as txt?

thank you so much before hand

Bytes as Mb in output result

Hi experts, i was trying to add the best title but is hard to explain in a few letters.

My question is about the wireshark output result as JSON, i was trying to do it but sadly the size is more than 1GB so i send it as txt with the following command:

tshark -r file_from_wireshark.pcapng
 -q -z conv,ip > output.txtoutput.txt

output.txt:

output.txt:

IPv4 Conversations
Filter:<no filter="">
          Filter:<No Filter>
                                     |       <-      | |       ->      | |     Total     |    Relative    |   Duration   |
                                      | Frames  Bytes | | Frames  Bytes | | Frames  Bytes |      Start     |              |
pageRandom <-> host.testing.internal   62393  89805838 89805838   29608   1787542   92001  91593380     0.000000000  

1) 0.000000000

  1. Is there anyway to get only total bytes: 89805838 89805838 ??

    2)

  2. is there an option to change it to MB instead of bytes?

    3)

  3. Is there any way to get this as JSON, just with the information generated as txt?

thank you so much before hand