Replies: 6 comments 9 replies
-
Hi @danhul ! Could you provide the credentials file with the credentials themselves redacted? |
Beta Was this translation helpful? Give feedback.
-
Hi @jszwedko I was running 0.20. With 0.29.1 Vector starts running but it shows random text in its logs, I don't get it what it means.
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your answer @jszwedko Now I updated our Dockerfile to use newer versions of vector image from "timberio/vector" but vector failed to start and the error in the logs is shown below (This error starts showing on all vector version starting from 0.25.0)
I checked the release note for Vector ver. 0.25.0 and I didn't get any change related to the "--watch-config" option. Do you think of a change in Vector that is related to this argument? The dockerfile that we have been using to generate custom image until now is shown below. (Note: The "config" directory that is copied to /etc/vector on line nr. 4 contains output and processing configuration files).
|
Beta Was this translation helpful? Give feedback.
-
Hi @spencergilbert I tested it by changing the VECTOR_WATCH_CONFIG to true and now it goes back to the original problem that Vector claims the fields of "credentials.json" file as unknown. This time, as shown below, it starts from the field 2023-05-31T14:52:53.508046Z ERROR vector::cli: Configuration error. error=unknown field |
Beta Was this translation helpful? Give feedback.
-
@jszwedko I get the "Unknown field ..." error in both vector version v0.25.0 and v0.30.0. |
Beta Was this translation helpful? Give feedback.
-
Yeha that is weird. I am using the same sink configuration and credentials.json file that I sent you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I configured vector to ship logs to gcp_stackdriver(Google operations)
I downloaded the credentials.json file from Google Cloud but as shown below Vector claims the fields in the credentials.json file are unknown.
2023-05-11T11:14:29.844667Z ERROR vector::cli: Configuration error. error=unknown field
type
at line 12 column 3The first standard field in credentials.json is
"type": "service_account"
. If I put the line"project_id"
before"type",
vector reports "project_id" is unknown field.Beta Was this translation helpful? Give feedback.
All reactions