This tutorial will walk you through setting up a self-hosted Elasticsearch - Logstash - Kibana (ELK) stack on Aptible Deploy.
aptible db:create "$DB_HANDLE" --type elasticsearch
--size Xoption to provision a larger-than-default Database.
In the Dashboard, create a new Log Drain:
Then, select Elasticsearch as the destination
Finally, save the Log Drain:
Kibana is an open source, browser-based analytics and search dashboard for Elasticsearch.
Follow the instructions in our Running Kibana tutorial to deploy Kibana on Aptible Deploy.
If you let logs accumulate in Elasticsearch, you'll need more and more RAM and disk space to store them. To avoid this, set up log archiving.
We recommend archiving logs to S3. Follow the instructions in our Elasticsearch Log Rotation tutorial to do so.
Updated 9 months ago