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
π
How-to Guides
GeoIP map visualization
AWS S3-compatible archive
String + JSON format
Live Tail Query Language
Tutorials
Powered By
GitBook
Vector (recommended)
Forward your logs to Logtail with Vector.
1.
β
Install Vector
on your server.
2.
Configure your sources according to the
Vector documentation
.
3.
Add the following Logtail sink to your config:
/etc/vector/vector.toml
1
[sinks.logtail]
2
type = "http"
3
inputs = [ "choose", "your", "sources" ]
4
uri = "https://in.logtail.com/"
5
encoding.codec = "json"
6
request.headers.Authorization = "Bearer YOUR_LOGTAIL_SOURCE_TOKEN"
Copied!
Make sure to replace
YOUR_LOGTAIL_SOURCE_TOKEN
with your own source token from Logtail.com.
4. Restart Vector:
1
systemctl restart vector
Copied!
That's all π
β
β
Integrations - Previous
Slack
Next - ποΈ Log forwarding
Fluent Bit
Last modified
1yr ago
Copy link