vectordotdev / vector

A high-performance observability data pipeline.
https://vector.dev
Mozilla Public License 2.0
18.2k stars 1.6k forks source link

Implement VRL encoder #21836

Open pront opened 2 days ago

pront commented 2 days ago

A note for the community

Use Cases

We already have a VRL decoder. This ticket is to track the other part of the work i.e. the VRL encoder.

Config snippet:

encoding.codec = "vrl"
encoding.source = '''
    encode_json(.) ?? encode_key_value!(.)

Attempted Solutions

No response

Proposal

No response

References

https://github.com/vectordotdev/vector/issues/13634

Version

No response