Monitoring

This document will cover monitoring Vector.

Logs

Accessing

How did you install Vector?

Levels

By default, Vector logs on the info level, you can change the level through a variety of methods:

MethodDescription
-v flagDrops the log level to debug.
-vv flagDrops the log level to trace.
-q flagRaises the log level to warn.
-qq flagRaises the log level to error.
-qqq flagTurns logging off.
LOG=<level> env varSet the log level. Must be one of trace, debug, info, warn, error, off.

Full Backtraces

You can enable full error backtraces by setting the RUST_BACKTRACE=full env var. More on this in the Troubleshooting guide.

Rate Limiting

Vector rate limits log events in the hot path. This is to your benefit as it allows you to get granular insight without the risk of saturating IO and disrupting the service. The tradeoff is that repetitive logs will not be logged.

Metrics

Currently, Vector does not expose Metrics. Issue #230 represents work to run internal Vector metrics through Vector's pipeline. Allowing you to define internal metrics as a source and then define one of many metrics sinks to collect those metrics, just as you would metrics from any other source.

Troubleshooting

Please refer to our troubleshooting guide:

Troubleshooting Guide