mirror of https://github.com/OISF/suricata
output-json: drop eve records that are too long
In the situation where the mem buffer cannot be expanded to the requested size, drop the log message. For each JSON log context, a warning will be emitted once with a partial bit of the log record being dropped to identify what event types may be leading to large log records. This also fixes the call to MemBufferExpand which is supposed be passed the amount to expand by, not the new size required. Ticket: #7300pull/12178/head
parent
2d13df6872
commit
d39e42728a
Loading…
Reference in New Issue