logstash-plugins / logstash-filter-json_encode

Apache License 2.0
5 stars 7 forks source link

Support pretty printing #3

Open wiibaa opened 9 years ago

wiibaa commented 9 years ago

Before the move to JrJackson, this filter was emitting pretty-printed JSON by default. Now it outputs non-formatted JSON, JrJackson is in the process of adding pretty print support in https://github.com/guyboertje/jrjackson/pull/37 so this could be toggled in this filter.

@suyograo this issue superseed https://github.com/elastic/logstash-contrib/pull/159

guyboertje commented 9 years ago

FYI pretty printing option supported in JrJackson 0.3.2

justin-calleja commented 8 years ago

Is there now a way to pretty print the serialized JSON?