THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

When I export selected packets using K12 (.txt) there is a header for each packet that looks like this "16:56:41,730,829 ETHER". What do the numbers represent?

  • retag add tags

Is it possible to have this header information represent the sequence number or the time?

RLM's avatar
1
RLM
asked 2024-05-24 13:50:01 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

It's a time, without a date. It's a format used by certain Tektronix protocol analyzers. You shouldn't use it if you don't have to, i e. if you don't have a Tek protocol analyzer, because it's a pretty terrible format. You can't change the header information because then it wouldn't be a K12 file.

https://wiki.wireshark.org/K12 https://gitlab.com/wireshark/wireshar...

What problem are you trying to solve by exporting to that format?

johnthacker's avatar
156
johnthacker
answered 2024-05-24 16:07:01 +0000
edit flag offensive 0 remove flag delete link

Comments

I am importing the txt file into excel where I can parse it and verify that the message is consistent with the Interface control document (ICD). I need to be able to track which packet is being parsed either by sequence number or time.

RLM's avatar RLM (2024-05-24 17:56:03 +0000) edit

You probably want one of the options available under "Export Packet Dissections." If you want to track the sequence number or the time, then one way that is compatible with spreadsheets like Excel is to add all the relevant columns you need (such as sequence number, time, and payload), and export as CSV.

johnthacker's avatar johnthacker (2024-05-25 13:07:01 +0000) edit

then one way that is compatible with spreadsheets like Excel is to add all the relevant columns you need

If somebody hasn't already filed an enhancement-request issue to allow exporting named fields, rather than columns, as a CSV file, so that the "add the relevant columns" field doesn't have to be done in this case, that needs to be done. (This can currently be done with TShark and the -T fields., -e {fieldname}, and -E separator=, options.)

Guy Harris's avatar Guy Harris (2024-05-25 19:22:53 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer