This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hello,

I did add a column data.text and enabled it (https://ask.wireshark.org/questions/14011/customcolumn-datatext), so far the package content is displayed fine.

Now I would like to only show only certain characterfields there, for example the first ten chars, or char 5 to 8. Is this possible? I tried data.text[10] but it did not work

asked 04 Nov '16, 12:27

anothersharky's gravatar image

anothersharky
6112
accept rate: 0%


This is not possible out-of-the-box. You could however use a LUA script to extract portions of a field and put the result in a new field. Or you could file an "Enhancement Request" at https://bugs.wireshark.org for this functionality and hope that some developer finds interest in developing this functionality.

permanent link

answered 07 Nov '16, 02:16

SYN-bit's gravatar image

SYN-bit ♦♦
17.1k957245
accept rate: 20%

edited 07 Nov '16, 02:42

grahamb's gravatar image

grahamb ♦
19.8k330206

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×63

question asked: 04 Nov '16, 12:27

question was seen: 1,241 times

last updated: 07 Nov '16, 02:42

p​o​w​e​r​e​d by O​S​Q​A