I have following log pattern:
2024-03-07 14:46:42.089 [http-nio-8181-exec-17] WARN com.example.logger.Logger [Context: ctx] CONFIGURATION_ERROR PROPERTY_ERROR User message: Properties have error Technical message: Properties have error Solution: Please contact support Impact: Impact
And I have successfully created patterns to match this almost as I need using following: multiline.json
The only issue now is, that the multiline message starts with empty line break, and I have no idea how to get rid of it.
If there would be a message on the first line in my sample, with the timestamp. It would work as I need, but I cannot change the log format...
I have following log pattern:
2024-03-07 14:46:42.089 [http-nio-8181-exec-17] WARN com.example.logger.Logger [Context: ctx] CONFIGURATION_ERROR PROPERTY_ERROR User message: Properties have error Technical message: Properties have error Solution: Please contact support Impact: Impact
And I have successfully created patterns to match this almost as I need using following: multiline.jsonThe only issue now is, that the multiline message starts with empty line break, and I have no idea how to get rid of it.
If there would be a message on the first line in my sample, with the timestamp. It would work as I need, but I cannot change the log format...