Skip to content

Commit

Permalink
Update component names
Browse files Browse the repository at this point in the history
Signed-off-by: Luc Perkins <[email protected]>
  • Loading branch information
Luc Perkins committed Oct 18, 2021
1 parent d7101fd commit 6acdb5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csv-enrichment/vector.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tag = "string"
message = "string"

# Generate user info messages
[sources.random_user_info]
[sources.user_info_messages]
type = "generator"
format = "shuffle"
lines = [
Expand All @@ -43,9 +43,9 @@ lines = [
]
interval = 2

[transforms.remap_random_user_info]
[transforms.remap_user_info]
type = "remap"
inputs = ["random_user_info"]
inputs = ["user_info_messages"]
source = """
. = parse_json(.message) ?? {}
. |= get_enrichment_table_record("users", { "last_name": .last_name, "first_name": .first_name }) ?? {}
Expand Down

0 comments on commit 6acdb5f

Please sign in to comment.