Replies: 1 comment 2 replies
-
Your issue looks similar to #264. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm on a spring boot 2.6.6 stack with logback for logging. I'm trying to get the logging right for ES and Kibana. Unfortunately I'm facing the issue that the logbook logs aren't wwritten as json object but as json formatted string. This way they can't be used in kibana queries.
config:
`
`
This creates logs like
{"@timestamp":"2022-07-04 14:27:51.174UTC","@version":"1","message":"Received multipartFile...}
which are fine.
And logs, where the message is already a json, which aren't fine:
{"@timestamp":"2022-07-04 14:27:51.191UTC","@version":"1","message":"{"origin":"local","type":"response", ...}
As you can see the message here starts with " and is not recognized as json.
Any hints, how can I configure the appender (or use some other appender).
Or which spring bean is responsible for this. So I can replace it with some custom logic?
Best,
Dimitar
Beta Was this translation helpful? Give feedback.
All reactions