Striim 3.10.2 documentation


The GetLog4JErrorWarning CQ filters Log4JStream, selecting only WARN and ERROR messages and discarding all others.

CREATE CQ GetLog4JErrorWarning
INSERT INTO Log4ErrorWarningStream
SELECT l FROM Log4JStream l
WHERE l.level = 'ERROR' OR l.level = 'WARN';

Log4ErrorWarningStream is used by the ErrorHandling and WarningHandling flows and by the Log4JErrorWarningActivity sliding window, which contains the most recent 300 events:

CREATE WINDOW Log4JErrorWarningActivity 
OVER Log4ErrorWarningStream KEEP 300 ROWS;

This window is used by the LargeRTCheck and ZeroContentCheck flows.