On Fri, Sep 4, 2015 at 5:06 PM, Catherine Johnson
<[email protected]> wrote:
> I don’t really care - I just want the elements (time, message, thread name, 
> exception)

Ah! But you do ;-) The above (time, message, thread name, exception)
is exactly the
schema I had in mind. Take a look at https://github.com/michaeltandy/log4j-json
(or other projects like this). It may be able to do what you want.

> to be escaped JSON so I can ingest them elsewhere. I am doing this manually 
> now,
> but would prefer for Geode to output escaped JSON natively. The sheer number 
> of
> messages coming out of the system means that I would have to do LOTS of 
> transformation
> someplace else, but if they were already JSON, it makes processing easier.

Back at Cloudera we had to create morphlines in order to deal with exactly that:
   
http://cloudera.github.io/cdk/docs/0.9.1/cdk-morphlines/morphlinesReferenceGuide.html#/readMultiLine

Thanks,
Roman.

Reply via email to