Running Docker or Kubernetes?
The Better Stack collector discovers MongoDB by itself and collects its metrics, with a ready-made dashboard. This page sets up Vector for a MongoDB source.
The Better Stack collector discovers MongoDB by itself and collects its metrics, with a ready-made dashboard. This page sets up Vector for a MongoDB source.
Collect logs from your MongoDB database using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack β Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! π
Find step-by-step instructions in our dedicated Vector guide.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.