Add a pretty json encoding for better testing / configuring experience #20380
Labels
domain: codecs
Anything related to Vector's codecs (encoding/decoding)
type: feature
A value-adding code addition that introduce new functionality.
A note for the community
Use Cases
A better UX when users are trying to build/configure their pipeline, the primary usage would be with the console sink.
Pretty-json is much more friendlier to infer the structure of your data.
Attempted Solutions
I've attempted this on my fork and seems to work pretty well, although I might be missing edge cases or making invalid assumptions...
Proposal
Adding a simple encoding would work here based on underlying serde_json::to_writer_pretty implementation.
References
No response
Version
0.37.1
The text was updated successfully, but these errors were encountered: