if expression problem, how best to solve ? #10699
-
hi there, have this
but sporadically get this error message.
The observer zone values were assigned as follows.
There is already no "null" values from the syslogserver and is also backed up with this.
What am i doing wrong here ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Are Regardless, I think there's something wrong happening in VRL here - so cc'ing @JeanMertz and @StephenWakely to see if there have an idea why we're getting a panick. @StefanSa can you share your entire VRL source? |
Beta Was this translation helpful? Give feedback.
-
There is a definite bug here. I have raised #10746 to track the issue. Vector should not boot at all with the script as it stands since it can't guarantee that It would be nice if the
was sufficient to inform VRL that these values need to be strings within the if block. However, VRL is not quite advanced enough yet. Now, I'm not convinced that this is the only bug that you have discovered - because that Is it possible that the errors occur when that Clutching at straws here. I think we should fix #10746 and then see if that fixes all the problems before trying to reproduce further. |
Beta Was this translation helpful? Give feedback.
There is a definite bug here. I have raised #10746 to track the issue. Vector should not boot at all with the script as it stands since it can't guarantee that
observer.egress.zone
,.observer.ingress.zone
.It would be nice if the
if
predicate:was sufficient to inform VRL that these values need to be strings within the if block. However, VRL is not quite advanced enough yet.
Now, I'm not convinced that this is the only bug that you have discovered - because that
if
should have been sufficient to prevent VRL from trying to run thematch_all
with parameters that are not strings. I cannot reproduce the error when t…