Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is available to concat stack trace and previous line with error message #79

Open
abhinav-vikash opened this issue Aug 6, 2020 · 1 comment

Comments

@abhinav-vikash
Copy link

abhinav-vikash commented Aug 6, 2020

fluentd-config
image

facing the issue with logs having following issues:

image

Plugin combine stacktrace in one message without error text:
{"log":"\u001b[1;31m2018-04-14 08:15:30 ERROR [c3ec14179bdb0a79/c3ec14179bdb0a79] --- [nio-8080-exec-9] c.a.h.GlobalControllerAdvice.java\u001b[0;39m: User:35 Cannot to get customer link-client information \n","stream":"stdout","time":"2018-04-14T08:15:30.795970999Z"}
and send two messages to elasticsearch.
The first message is message with error text and the second message is stacktrace.
But, I want to have only one message: error text with stacktrace. In error text I have additional information to resolve problem.
Is any solution to add custom java rules to combine error text message and stacktrace message

@gyoetam
Copy link

gyoetam commented Apr 29, 2021

duplicate of #73 , no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants