The ElasticStack is the perfect tool for understanding exception management, application health, and usage patterns. By using your application logs and some minor transformation you can ship searchable, scalable monitoring infrastructure.
This Elastic Stack demo runs super easily assuming you have Docker installed. I'd recommend referring to the official install guide for details on getting up and running.
NOTE - you will need at least 4 gigs of memory for this stack to run. Using Docker desktop is easiest way to modify any limits imposed. By default only 2 gigs of memory are allowed so you will need to change this.
From there docker-compose up
will spin up:
- A simple express.js app with a Logstash adapter to send application logs to Elasticsearch.
- Elasticsearch document database to store application logs
- Kibana visualization service
by running npm run fake-traffic
a fake steady stream of data will be
sent to the express app for you to visualize and interact with.