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

LUA: Can’t plot float values in IO Graph

0

Hi,

We have written a LUA postdissector that calculates a number of response time values. These are defined as floating point fields, e.g.

rte_art_F = ProtoField.float("transum.art","APDU Rsp Time")

The postdissector works fine but I can't get the Wireshark IO Graph facility to plot the values - I just get a flat line. I use the Y Axis Unit: Advanced option in IO Graph, choose Calc: MAX(*) and then add transum.art as the value to plot.

I've tried the same thing with Wireshark compiled dissector fields and these work fine.

Does IO Graph support LUA postdissector fields? Am I doing something wrong?

Thanks and regards...Paul

PS: The dissector can be downloaded from http://www.tribelabzero.com/resources

asked 02 Aug '14, 03:48

PaulOfford's gravatar image

PaulOfford
131283237
accept rate: 11%

Is this a candidate for a bug report?

(04 Aug '14, 15:34) PaulOfford

What is your

  • OS and OS version
  • Wireshark version
(04 Aug '14, 23:19) Kurt Knochner ♦

Windows 7 Ultimate Build 7601 SP 1 - Wireshark 1.10.8

I've upgraded to Wireshark 1.12.0 and I get the same problem.

Just to be sure I'm doing this right, here's what I put in the dialog box:

alt text

(05 Aug '14, 05:10) PaulOfford