Using Rsyslog and TICK to ingest Payara Server Logs. The format is ODL : Oracle Diagnostic Log Format ( Log Working Group in Oracle)
Example
[2 019-01-18T13:10:02.420+0100] [Payara 5.184] [INFO] [NCLS-LOGGING-00009] [javax.enterprise.logging] [tid: _ThreadID=31 _ThreadName=RunLevelControllerThread-1547813402253] [timeMillis: 1547813402420] [levelValue: 800] [[ Running Payara Version: Payara Server 5.184.1 #badassfish (build 90)]]
I am looking to count up WARNING or ERROR message and wondered how best to achieve this?
Via a template and Regex or some other way?
Nirvana would be to have a dashboard widget with errors and warnings counter from x time period.