Removing/Dropping items with empty values #24299
Answered
by
vstariradev
vstariradev
asked this question in
Q&A
-
QuestionI have an otel object that will go to an otel collector. Depending on the log line processed by vector, some attributes could have value "" sometimes. I'd like to exclude these from being sent to otel. In the above example Vector ConfigNo response Vector LogsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
vstariradev
Nov 25, 2025
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
vstariradev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://vector.dev/docs/reference/vrl/functions/#compact