Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Previous answers:
need part of data only
display only portion of data field as column

When a Custom column is defined, you get to pick a field and it's occurrence.
column.c:

    if (col_item->col_fmt == COL_CUSTOM) {
      col_item->col_custom_fields = g_strdup(get_column_custom_fields(i));
      col_item->col_custom_occurrence = get_column_custom_occurrence(i);
    }

It would be pretty easy with a Lua script but yes, that is an extra file to keep up with for future installs or other users.

Previous answers:
need part of data only
display only portion of data field as column

When a Custom column is defined, you get to pick a field and it's occurrence.
column.c:

    if (col_item->col_fmt == COL_CUSTOM) {
      col_item->col_custom_fields = g_strdup(get_column_custom_fields(i));
      col_item->col_custom_occurrence = get_column_custom_occurrence(i);
    }

It would be pretty easy with a Lua script but yes, that is an extra file to keep up with for future installs or other users.

I couldn't find any enhancement requests asking for this. They are created on the Wireshark Gitlab issues page.

Previous answers:
need part of data only
display only portion of data field as column

When a Custom column is defined, you get to pick a field and it's its occurrence.
column.c:

    if (col_item->col_fmt == COL_CUSTOM) {
      col_item->col_custom_fields = g_strdup(get_column_custom_fields(i));
      col_item->col_custom_occurrence = get_column_custom_occurrence(i);
    }

It would be pretty easy with a Lua script but yes, that is an extra file to keep up with for future installs or other users.

I couldn't find any enhancement requests asking for this. They are created on the Wireshark Gitlab issues page.