Replies: 1 comment 6 replies
-
Hi @elwinar, this looks like a bug to me. The if block doesn't change the type of the variable `format:
You can use this workaround as an immediate solution. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried something like this:
and got the following error
I've looked at the reference for this function (https://vector.dev/docs/reference/vrl/functions/#parse_nginx_log) and the VRL specification, and didn't read anywhere that variables couldn't be used in place of literals? Maybe I'm missing something?
Beta Was this translation helpful? Give feedback.
All reactions