summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-08-15 18:24:47 +0200
committerlns <matzeton@googlemail.com>2022-08-15 18:36:49 +0200
commit905545487d9f44970fe36b75de467f8b6f78302a (patch)
treea11d38ddee5770da5fc1d6a629fedfd5c6ad65a2 /schema
parent2cb2c86cb5d952608177393566c09c45b1a54461 (diff)
Split `flow_packets_processed' into `flow_src_packets_processed' and `flow_dst_packets_processed'.
* no use for `flow_avg_l4_payload_len' -> removed * test/run_tests.sh does not fail if git-worktree's are used Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'schema')
-rw-r--r--schema/flow_event_schema.json16
1 files changed, 9 insertions, 7 deletions
diff --git a/schema/flow_event_schema.json b/schema/flow_event_schema.json
index 6a7f54628..8e7a05a1b 100644
--- a/schema/flow_event_schema.json
+++ b/schema/flow_event_schema.json
@@ -9,14 +9,14 @@
"flow_event_name",
"flow_id",
"flow_state",
- "flow_packets_processed",
+ "flow_src_packets_processed",
+ "flow_dst_packets_processed",
"flow_first_seen",
"flow_last_seen",
"flow_idle_time",
"flow_min_l4_payload_len",
"flow_max_l4_payload_len",
"flow_tot_l4_payload_len",
- "flow_avg_l4_payload_len",
"l3_proto",
"l4_proto",
"midstream",
@@ -98,8 +98,13 @@
"minimum": 0,
"maximum": 292
},
- "flow_packets_processed": {
- "type": "number"
+ "flow_src_packets_processed": {
+ "type": "number",
+ "minimum": 0
+ },
+ "flow_dst_packets_processed": {
+ "type": "number",
+ "minimum": 0
},
"flow_max_packets": {
"type": "number",
@@ -126,9 +131,6 @@
"flow_tot_l4_payload_len": {
"type": "number"
},
- "flow_avg_l4_payload_len": {
- "type": "number"
- },
"l3_proto": {
"type": "string",
"enum": [