All CLI Commands
aptible log_drain:create:syslog
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 services:autoscaling_policy
- aptible services:autoscaling_policy:set
- aptible ssh
- aptible version
- CLI Configurations
- Dashboard
- Terraform
- Metadata Variables
- Interface Feature Availability Matrix
- Glossary
All CLI Commands
aptible log_drain:create:syslog
This command lets you create a Log Drain to forward your container logs to an Syslog TCP+TLS destination of your choice.
📘 Note
There are specific CLI commands for creating Log Drains for some specific Syslog destinations, such as Papertrail.
Synopsis
Usage:
aptible log_drain:create:syslog HANDLE --host SYSLOG_HOST --port SYSLOG_PORT [--token TOKEN] --environment ENVIRONMENT [--drain-apps true/false] [--drain_databases true/false] [--drain_ephemeral_sessions true/false] [--drain_proxies true/false]
Options:
[--host=HOST]
[--port=PORT]
[--token=TOKEN]
[--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
--env, [--environment=ENVIRONMENT]
Create a Papertrail Log Drain
Was this page helpful?
On this page