Skip to content

Vector Elasticsearch Sink variable index #19415

Closed Answered by jszwedko
bebehei asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bebehei !

Variables defined in a remap transform only exist in that specific remap transform (and are independent for every event being process). I think what you want to do is assign the result to a field, as you suggested. To avoid that field ending up on the event in Elasticsearch you can use encoding.drop_fields = ["elastic_index"]. Hopefully this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bebehei
Comment options

Answer selected by bebehei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants