Logging with PostgreSQL and Logtail

You can use Vector to collect logs from your PostgreSQL database. The installation and configuration process is the following:

  1. Install Vector  on your server
  2. Download Vector configuration for your source:
wget -O ->> /etc/vector/vector.toml \
  1. Restart Vector
systemctl restart vector
  1. That's all 🎉

Make sure to replace <YOUR_LOGTAIL_SOURCE_TOKEN> with your own source token from Logtail.com.