All CLI Commands
aptible log_drain:create:papertrail
Getting Started
- Introduction to Aptible
- Deploy Starter Template
- Deploy your custom code
Core Concepts
- Apps
- Managed Databases
- Architecture
- Scaling
- Observability
- Security & Compliance
- Integrations
- Billing & Payments
Reference
- Pricing
- Aptible CLI
- Overview
- All CLI Commands
- aptible apps
- aptible apps:create
- aptible apps:deprovision
- aptible apps:rename
- aptible apps:scale
- aptible backup:list
- aptible backup:orphaned
- aptible backup:purge
- aptible backup:restore
- aptible backup_retention_policy
- aptible backup_retention_policy:set
- aptible config
- aptible config:add
- aptible config:get
- aptible config:rm
- aptible config:set
- aptible config:unset
- aptible db:backup
- aptible db:clone
- aptible db:create
- aptible db:deprovision
- aptible db:dump
- aptible db:execute
- aptible db:list
- aptible db:modify
- aptible db:reload
- aptible db:replicate
- aptible db:rename
- aptible db:restart
- aptible db:tunnel
- aptible db:url
- aptible db:versions
- aptible deploy
- aptible endpoints:database:create
- aptible endpoints:database:modify
- aptible endpoints:deprovision
- aptible endpoints:https:create
- aptible endpoints:https:modify
- aptible endpoints:list
- aptible endpoints:renew
- aptible endpoints:tcp:create
- aptible endpoints:tcp:modify
- aptible endpoints:tls:create
- aptible endpoints:tls:modify
- aptible endpoints:grpc:create
- aptible endpoints:grpc:modify
- aptible environment:ca_cert
- aptible environment:list
- aptible environment:rename
- aptible help
- aptible log_drain:create:datadog
- aptible log_drain:create:elasticsearch
- aptible log_drain:create:https
- aptible log_drain:create:logdna
- aptible log_drain:create:papertrail
- aptible log_drain:create:sumologic
- aptible log_drain:create:syslog
- aptible log_drain:deprovision
- aptible log_drain:list
- aptible login
- aptible logs
- aptible logs_from_archive
- aptible maintenance:apps
- aptible maintenance:dbs
- aptible metric_drain:create:datadog
- aptible metric_drain:create:influxdb
- aptible metric_drain:create:influxdb:custom
- aptible metric_drain:deprovision
- aptible metric_drain:list
- aptible operation:cancel
- aptible operation:follow
- aptible operation:logs
- aptible rebuild
- aptible restart
- aptible services
- aptible services:settings
- aptible ssh
- aptible version
- CLI Configurations
- Dashboard
- Terraform
- Metadata Variables
- Interface Feature Availability Matrix
- Glossary
All CLI Commands
aptible log_drain:create:papertrail
This command lets you create a Log Drain to forward your container logs to Papertrail.
📘 Note
Add a new Log Destination in Papertrail (make sure to accept TCP + TLS connections and logs from unrecognized senders), then copy the host and port from the Log Destination.
Synopsis
Usage:
aptible log_drain:create:papertrail HANDLE --host PAPERTRAIL_HOST --port PAPERTRAIL_PORT --environment ENVIRONMENT [--drain-apps true/false] [--drain_databases true/false] [--drain_ephemeral_sessions true/false] [--drain_proxies true/false]
Options:
[--host=HOST]
[--port=PORT]
[--drain-apps], [--no-drain-apps]
# Default: true
[--drain-databases], [--no-drain-databases]
# Default: true
[--drain-ephemeral-sessions], [--no-drain-ephemeral-sessions]
# Default: true
[--drain-proxies], [--no-drain-proxies]
# Default: true
[--environment=ENVIRONMENT]
Create a Papertrail Log Drain
Was this page helpful?
On this page