doc: add documentation for Lua SCFlowTimestamps

pull/2627/head
Mats Klepsland 8 years ago committed by Victor Julien
parent 365aa1f3e5
commit 7b1dae6251

@ -147,6 +147,17 @@ flow
return needs
end
SCFlowTimestamps
~~~~~~~~~~~~~~~~
Get timestamps (seconds and microseconds) of the first and the last packet from
the flow.
::
startts, lastts = SCFlowTimestamps()
startts_s, lastts_s, startts_us, lastts_us = SCFlowTimestamps()
SCFlowTimeString
~~~~~~~~~~~~~~~~

Loading…
Cancel
Save