Answer the question
In order to leave comments, you need to log in
Why are messages cut line by line in Kibana?
There are several microservices.
Everyone writes logs to ELK through the logging mechanism built into docker, configured in docker-compose like this:
logging:
driver: "syslog"
options:
syslog-address: "upd://192.168...."
tag: "$HOSTNAME {{.ImageName}} {{.Name}} "
Answer the question
In order to leave comments, you need to log in
Kibana does not cut or break anything at all.
How you put strings in elastic is how they are stored there.
It is necessary to parse them with something along the way, combine multiline messages and send them to the elastic as a single message. This is what logstesh does, for example. Or you need to see what your built-in logging mechanism can do, maybe there are settings for multistring
Make an additional appender that writes in json format and set up kibana for these files. And then the multiline problem will be solved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question