Environment Variables

You can control Vector's behavior through select environment variables:

ENV_VAR1=val ENV_VAR2=val vector --config=/etc/vector/vector.toml

In addition, we recommend that you look at the global configuration options as well.

Variables

6 items
commonstringrequired

AWS_ACCESS_KEY_ID

Used for AWS authentication when communicating with AWS services. See relevant AWS components for more info.

No default
View examples
commonstringrequired

AWS_SECRET_ACCESS_KEY

Used for AWS authentication when communicating with AWS services. See relevant AWS components for more info.

No default
View examples
stringoptional

DOCKER_HOST

The docker host to connect to.

Default: "unix:///var/run/docker.sock"
View examples
booloptional

DOCKER_VERIFY_TLS

If true (the default), Vector will validate the TLS certificate of the remote host. Do NOT set this to false unless you understand the risks of not verifying the remote certificate.

Default: true
View examples
commonstringrequired

LOG

Sets Vector's log level. See the log section in the monitoring guide for more information on the available levels.

No default
View examples
commonboolrequired

RUST_BACKTRACE

Enables backtraces when errors are logged. Use this when debugging only since it can degrade performance.

No default
View examples