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
  [--environment=ENVIRONMENT]

Create a Papertrail Log Drain

Did this page help you?