aboutsummaryrefslogtreecommitdiff
path: root/examples/py-flow-dashboard/flow-dash.py
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-03-13 03:08:44 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-03-13 03:08:44 +0100
commitdaaaa615197d8551457ecf926f6df30c6482a70a (patch)
tree643e945b30efe9e64d436febb26d47503e121512 /examples/py-flow-dashboard/flow-dash.py
parented1647b9446f84d81d41e8e28ccf063eff97b2f7 (diff)
Renamed basic event to error event for the sake of the logic.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/py-flow-dashboard/flow-dash.py')
-rwxr-xr-xexamples/py-flow-dashboard/flow-dash.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/py-flow-dashboard/flow-dash.py b/examples/py-flow-dashboard/flow-dash.py
index 624824f60..2ac825cac 100755
--- a/examples/py-flow-dashboard/flow-dash.py
+++ b/examples/py-flow-dashboard/flow-dash.py
@@ -62,7 +62,7 @@ def nDPIsrvd_worker_onJsonLineRecvd(json_dict, instance, current_flow, global_us
shared_flow_dict['total-events'] += 1
shared_flow_dict['total-json-bytes'] = nsock.received_bytes
- if 'basic_event_name' in json_dict:
+ if 'error_event_name' in json_dict:
shared_flow_dict['total-base-events'] += 1
if 'daemon_event_name' in json_dict: