How can I export the packet bytes not as raw data, but as text?

I'm trying to export data from GOOSE-messages on the network to a report. The data in the messages contains useful info, but I can only seem to export this as raw data. How can I export this as text as shown in wireshark to for example a .csv file an is there away to automate this in tshark?

In Wireshark, you can export the visible columns to a CSV file by selecting Export Packet Dissections > As CSV....

In TShark, you can export particular fields to a CSV file by using -T fields, -e to specify the fields to export, and -E to control the format (for example, -E separator=, to use a comma as the separator).