All CLI Commands
aptible log_drain:create:elasticsearch
This command lets you create a Log Drain to forward your container logs to an Elasticsearch Database hosted on Aptible.
📘 You must choose a destination Elasticsearch Database that is within the same Environment as the Log Drain you are creating.
Synopsis
Usage:
aptible log_drain:create:elasticsearch HANDLE --db DATABASE_HANDLE --environment ENVIRONMENT [--drain-apps true/false] [--drain_databases true/false] [--drain_ephemeral_sessions true/false] [--drain_proxies true/false]
Options:
[--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]
[--db=DB]
[--pipeline=PIPELINE]
Was this page helpful?