-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jesse Szwedko <[email protected]>
- Loading branch information
Showing
5 changed files
with
10,076 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# CSV enrichment in Vector | ||
|
||
**Note:** This feature is unreleased and still under active development. However, if you want to try it out, we would | ||
love any feedback! | ||
|
||
## How to start it | ||
|
||
`docker-compose up` | ||
|
||
## What it does | ||
|
||
This demo shows an example of using CSV enrichment in Vector to enrich events with data from a CSV file. | ||
|
||
The CSV file ([`./data/users.csv`](./data/users.csv) contains a list of users with their phone numbers and addresses. | ||
|
||
The `vector.toml` configuration contains: | ||
|
||
* A `random` source in the `vector.toml` that simply generates some fake events using names that match users in the CSV file | ||
* A `remap` transform then parses these events and then looks up the corresponding record from the CSV file to enrich the event with more metadata | ||
* A `console` sink to print out the events |
Oops, something went wrong.