
For downloading the config, you need to run the powershell as an administrator.
Collect logs from your MySQL database using Vector.
Select your platform:
Configure the Vector APT repository and install Vector:
curl -1sLf \
'https://repositories.timber.io/public/vector/cfg/setup/bash.deb.sh' \
| sudo -E bash
apt-get install vector
Download Vector configuration for your source:
wget -O ->> /etc/vector/vector.toml \
https://logs.betterstack.com/vector-toml/mysql/$SOURCE_TOKEN
Restart Vector to reload the configuration:
systemctl restart vector
You should see your logs in Better Stack -> Live tail.
Seeing unrelated debugging messages in your logs?
After a fresh install, Vector comes preconfigured with a Demo logs source. It might be useful for initial testing, but don't forget to remove it afterwards.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏