Json schema doesn't support thread stats
Currently, if we enable thread stats for eve.json, many SV tests will fail with messages like:
===> dcerpc-3109: FAILED: Invalid JSON schema /home/jufajardini/Workspace/OISF/suricata-verify/tests/dcerpc/dce-logging/output/eve.json - INVALID. Errors: 1./stats Additional properties are not allowed ('threads' was unexpected) ===> dcerpc-smb-test-01: FAILED: Invalid JSON schema
We must add threads to etc/schema.json
Get started: do as for stats_applayer_error to avoid repeating the same pattern.
Updated by Juliana Fajardini Reichow 9 months ago
to remember: schema file is under etc/schema.json