Back to Vector

Beautification of the validate command

website/content/en/highlights/2020-06-10-consolidate-and-beautify-validate.md

0.55.0697 B
Original Source

We gave vector validate some touching up to make it look better, and feel nicer to use. This was heavily inspired by the fantastic linkerd validate command.

Take a gander at the new output on a good valid configuration:

bash
vic@sticky-keyboard-macbook:/git/vectordotdev/vector$ vector validate test.toml
√ Loaded "test.toml"
√ Configuration topology
√ Component configuration
√ Health check `sink0`
-------------------------
                Validated

Now an invalid configuration:

bash
vic@sticky-keyboard-macbook:/git/vectordotdev/vector$ vector validate test.toml
Failed to parse "test.toml"
---------------------------
x missing field `type` for key `sinks.sink1`