mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Add trace to discover formatting historical flow column time
This commit is contained in:
parent
20c31148e4
commit
e1ca80f3d5
1 changed files with 2 additions and 0 deletions
|
|
@ -1280,6 +1280,7 @@ function historical_flow_utils.format_clickhouse_record(record, csv_format, form
|
|||
----------------------------------
|
||||
-- Cycling the value of the record
|
||||
for column_name, value in pairs(record) do
|
||||
if do_trace == "1" then traceError(TRACE_NORMAL, TRACE_CONSOLE, column_name .. " start") end
|
||||
local new_column_name = nil
|
||||
local new_value = nil
|
||||
|
||||
|
|
@ -1295,6 +1296,7 @@ function historical_flow_utils.format_clickhouse_record(record, csv_format, form
|
|||
if new_column_name and new_value then
|
||||
processed_record[new_column_name] = new_value
|
||||
end
|
||||
if do_trace == "1" then traceError(TRACE_NORMAL, TRACE_CONSOLE, column_name .. " end") end
|
||||
end
|
||||
|
||||
dt_format_asn(processed_record, record)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue