Volkan,

I have looked at the PR and the only remaining thing I have an issue with are 
the changes you made to the logging in the cloud documentation. In my testing, 
only the Gelf Layout worked properly with an ELK stack. This is because 
Logstash (as well as Fluentd) are parsing the input trying to figure out where 
each log event begins and ends. They typically do that using some sort of 
pattern but by default look for newlines. This will cause log events that 
contain exceptions, which inherently include newlines) or other events that 
include newlines in the message to be broken into multiple lines in Kibana and 
make it impossible to filter on them properly. 

Have you tested the changes you have made to the documentation with a full ELK 
stack and verified that all log events, including events with exceptions, are 
displayed correctly?  

Also, you will notice that the Gelf Layout includes a MessagePattern attribute 
that allows the message element to be formatted using the PatternLayout. Does 
the Json Template Layout support that? I don’t see examples of that in any of 
the template files if it does.  If it does not, that is another reason I would 
prefer leaving the page as is for now.

Ralph

Reply via email to