/ Jun 3rd, 2021 /

Generate events from an external program using the new `exec` source

Introducing the new `exec` source for generating events from the output of other programs

This release includes a new exec source that can be used to run programs outside of Vector to generate log events by consuming the stdout and stderr output streams. This can be especially useful to consume input from sources that Vector does not yet natively support such as querying data from a Postgres database via psql.

It is capable of either running a command on an interval or starting up a long-running command.

See [the exec source documentation][docs.sources.exec] for more details and examples.

Thanks to @moogstuart for this contribution.

This change was made available in 0.14.0. You can get this change by downloading the latest stable release.

Like What You See?