-
Epic
-
Resolution: Done
-
Critical
-
None
-
Vector Multiline Exception
-
8
-
False
-
False
-
Green
-
NEW
-
To Do
-
VERIFIED
-
0% To Do, 0% In Progress, 100% Done
-
M
Story
As a provider of a service that is deployed on OpenShift,
I want multi-line exceptions to be captured as a single log event
So that I see error trace logs as a single event
Acceptance Criteria
- Multiline exception traces are forwarded as single log entries (i.e.)
Exception in thread "main" java.lang.NullPointerException at com.example.myproject.Book.getTitle(Book.java:16) at com.example.myproject.Author.getBookTitles(Author.java:25) at com.example.myproject.Bootstrap.main(Bootstrap.java:14)
Notes
EOL characters are stripped by CRIO. We should not guarantee the final message will appear exactly as the original- Functional tests should be added to cover all the supported stack's by the plugin
We should consider adding a feature to the plugin to add back newline char in assembled messages (if possible)- This feature may already be available https://vector.dev/docs/reference/configuration/sources/kubernetes_logs/#auto_partial_merge.