> On Dec 23, 2019, at 7:50 PM, Gary Gregory <garydgreg...@gmail.com> wrote: > > On Mon, Dec 23, 2019 at 6:25 PM Ralph Goers <ralph.go...@dslextreme.com> > wrote: > >> Thanks, >> >> What I was thinking was that I would just like a more flexible way to >> specify what should be included in the JSON. In its current form the JSON >> Layout just creates a serialized version of a LogEvent. I would prefer it >> if users could define the individual fields they want and what they should >> contain. >> > > It seems like it would make sense to do the same for the XML and HTML > layouts. >
Maybe. My concern is primarily for JSON because that is what the majority of people are using to send logs to aggregators and ElasticSearch these days. That said, I found that after the modifications I made to GelfLayout it worked perfectly when sending logs to an ELK stack. Ralph