Logtail
What is Logtail?
Get help
Book a demo
System Status
Searchβ¦
Getting started
βοΈ Sources
JavaScript
Python
Ruby
PHP
.NET
Java
Heroku
Render
Kubernetes
Docker
Dokku
Cloudflare
HTTP REST API
Nginx
Apache2
Redis
MongoDB
PostgreSQL
MySQL
Ubuntu
π
Integrations
Slack
ποΈ Log forwarding
Vector (recommended)
Fluent Bit
Logstash
Fluentd
Syslog
π§
API
Getting Started
Sources API
Query API
π
How-to Guides
GeoIP map visualization
AWS S3-compatible archive
String + JSON format
Live Tail Query Language
Tutorials
Powered By
GitBook
PostgreSQL
Collect logs from your Postgres database using Vector. Configure everything in 5 minutes or less.
1.
β
Install Vector
on your server.
2.
Download Vector configuration for your source:
wget -O ->> /etc/vector/vector.toml \
https://logtail.com/vector-toml/postgresql/<YOUR_LOGTAIL_SOURCE_TOKEN>
3.
Restart Vector:
systemctl restart vector
4.
That's all π
Make sure to replace
YOUR_LOGTAIL_SOURCE_TOKEN
with your own source token from Logtail.com.
βοΈ Sources - Previous
MongoDB
Next - βοΈ Sources
MySQL
Last modified
1yr ago
Copy link