Aptible logoDocs
CLI

Setting up a self-hosted HTTPS Log Drain

HTTPS Log Drains let you route logs to HTTPS endpoints. Often, this can be useful to set up e.g. Logstash and route those logs somewhere else (as well as filter or enrich them).

To that end, we provide a sample Logstash app you can deploy on Aptible to do so: aptible/docker-logstash.

Once you've deployed this app, expose it (see: How do I expose my web app on the Internet?), then create a new HTTPS Log Drain to route logs there.