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
Heroku
Collect log from your Heroku apps. Configure everything in 2 minutes or less.
1.
Install the
Heroku CLI
.
2.
Login to Heroku using the CLI:
heroku login
3.
Add the Logtail drain:
heroku drains:add \
"https://in.logtail.com:6515/events?source_token=YOUR_LOGTAIL_SOURCE_TOKEN" \
-a YOUR_HEROKU_APP_SLUG
4.
That's all π
Make sure to replace
YOUR_LOGTAIL_SOURCE_TOKEN
with your own source token from Logtail.com and also the
YOUR_HEROKU_APP_SLUG
with your app's slug.
βοΈ Sources - Previous
Java
Next - βοΈ Sources
Render
Last modified
1yr ago
Copy link