You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mar 12 10:58:41 test vector[1514]: √ Loaded ["/opt/vector/config"]
Mar 12 10:58:41 test vector[1514]: Component errors
Mar 12 10:58:41 test vector[1514]: ----------------
Mar 12 10:58:41 test vector[1514]: x Transform "json_encoder":
Mar 12 10:58:41 test vector[1514]: error[E103]: unhandled fallible assignment
Mar 12 10:58:41 test vector[1514]: ┌─ :1:5
Mar 12 10:58:41 test vector[1514]: │
Mar 12 10:58:41 test vector[1514]: 1 │ . = { "text": "[LOG ALERT] \n" + string(.message) }
Mar 12 10:58:41 test vector[1514]: │ --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this expression is fallible because at least one argument's type cannot be verified to be valid
Mar 12 10:58:41 test vector[1514]: │ │
Mar 12 10:58:41 test vector[1514]: │ or change this to an infallible assignment:
Mar 12 10:58:41 test vector[1514]: │ ., err = { "text": "[LOG ALERT]
Mar 12 10:58:41 test vector[1514]: " + string(.message) }
Mar 12 10:58:41 test vector[1514]: │
Mar 12 10:58:41 test vector[1514]: = see documentation about error handling at https://errors.vrl.dev/#handling
Mar 12 10:58:41 test vector[1514]: = see functions characteristics documentation at https://vrl.dev/expressions/#function-call-characteristics
Mar 12 10:58:41 test vector[1514]: = learn more about error code 103 at https://errors.vrl.dev/103
Mar 12 10:58:41 test vector[1514]: = see language documentation at https://vrl.dev
Mar 12 10:58:41 test vector[1514]: = try your code in the VRL REPL, learn more at https://vrl.dev/examples
Mar 12 10:58:41 test systemd[1]: vector.service: control process exited, code=exited status=78
Mar 12 10:58:41 test systemd[1]: Failed to start Vector.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
vector.toml
error.log
Beta Was this translation helpful? Give feedback.
All reactions