aptible log_drain:create:logdna

This command lets you create a Log Drain to forward your container logs to LogDNA.

πŸ“˜

Note

The --url options must be given in the format of https://logs.logdna.com/aptible/ingest/<INGESTION KEY>. Refer to https://docs.logdna.com/docs/aptible-logs for more options.

Synopsis

Usage:
  aptible log_drain:create:logdna HANDLE --url LOGDNA_URL --environment ENVIRONMENT [--drain-apps true/false] [--drain_databases true/false] [--drain_ephemeral_sessions true/false] [--drain_proxies true/false]

Options:
  [--url=URL]
  [--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 LogDNA Log Drain

Did this page help you?