schema: Add stats.capture and in_iface properties

New suricata-verify test listens on loopback interface, resulting
in the capture and in_iface fields in the stats and event objects.
pull/10590/head
Arne Welzel 2 years ago committed by Victor Julien
parent f17204191d
commit f9cf87a003

@ -51,6 +51,9 @@
"icmp_type": { "icmp_type": {
"type": "integer" "type": "integer"
}, },
"in_iface": {
"type": "string"
},
"log_level": { "log_level": {
"type": "string" "type": "string"
}, },
@ -3715,6 +3718,20 @@
"description": "Suricata engine's uptime", "description": "Suricata engine's uptime",
"type": "integer" "type": "integer"
}, },
"capture": {
"type": "object",
"properties": {
"kernel_packets": {
"type": "integer"
},
"kernel_drops": {
"type": "integer"
},
"kernel_ifdrops": {
"type": "integer"
}
}
},
"memcap_pressure": { "memcap_pressure": {
"description": "Percentage of memcaps used by flow, stream, stream-reassembly and app-layer-http", "description": "Percentage of memcaps used by flow, stream, stream-reassembly and app-layer-http",
"type": "integer" "type": "integer"

Loading…
Cancel
Save