Re: JsonTemplateLayout template directives

2020-05-25 Thread Ralph Goers
While the first syntax is shorter, I actually like the second syntax better. It is clearer than all the stuff being tacked on after “json:” and it provides more room to be extended. Ralph > On May 25, 2020, at 6:00 AM, Volkan Yazıcı wrote: > > Hello, > > In JTL, we employ two templating lang

JsonTemplateLayout template directives

2020-05-25 Thread Volkan Yazıcı
Hello, In JTL, we employ two templating languages within each other. Consider the following GelfLayout.json: { "version": "1.1", "host": "${hostName}", "short_message": "${json:message}", "full_message": "${json:exception:stackTrace:text}", "timestamp": "${json:t