Extract Exception Class

Hello, what is the best way to extract the exception from the following log? I only need the exception class NullpointerException e.g.

My attempt:
%{TIMESTAMP_ISO8601:log_timestamp}.%{LOGLEVEL:log_level}.[%{GREEDYDATA:log_javaclass].*Exception

Log:
2022-10-22 01:19:55,777 ERROR [org.xxx.xxx.test] (xxxxxClass) TTTT/XXXX-01030 Exception while xxx xxx xxx xxxxx.: aaa.bbb.ccc.ddd.impl.NullpointerException: some Stacktrace 'xyzJavaClass'

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.