elastic-stax
elastic-stax v7.15.2 contains various docker-compose projects based on elastic v7.15.2 These projects were created for demo and learning purposes only!
Please give us a GitHub Star
if you like the project. Thank you in advance!
ELASTIC STACK RELEASE NOTES
Elastic Blog Post: https://www.elastic.co/blog/whats-new-elastic-7-16-0
Elastic Solutions
Elastic Search Enterprise: https://www.elastic.co/blog/whats-new-elastic-enterprise-search-7-16-0
Elastic Observability: https://www.elastic.co/blog/whats-new-elastic-observability-7-16-0
Elastic Security: https://www.elastic.co/blog/whats-new-elastic-security-7-16-0
PREREQUISITES
For running the elastic-stax-recipes(s) you need the following software components on your host system
Name | Reference |
---|---|
ubuntu | >= 18.04.5 LTS (Bionic Beaver) |
docker | https://docs.docker.com/engine/reference/run/ |
docker-compose | https://docs.docker.com/compose/reference/overview/ |
REPOSITORY CONTENT
Stack Categories | Main Focus | Components |
---|---|---|
stack-000 - stack-100 | Elasticsearch Cluster | Elasticsearch, Kibana |
stack-100 - stack-200 | Logstash | Elasticsearch, Kibana, Logstash |
stack-200 - stack-300 | Beats | Elasticsearch, Kibana, Logstash, Beats |
stack-300 - stack-400 | APM/Tracing | Elasticsearch, Kibana, APM, OpsBeans |
stack-400 - stack-500 | Machine Learning | Elasticsearch, Kibana, Beats, Machine Learning |
stack-500 - stack-600 | Third Party | i.e. Apache Kafka, Grafana etc ... |
ELASTICSEARCH CLUSTER: stack-000 - stack-100
Name | Components | Description |
---|---|---|
stack-005 | 1x es/1x kb | 1x Node cluster with minimal (starter) config |
stack-010 | 1x es/1x kb | 1x Node cluster with extended config, basic security and license features |
stack-015 | 1x es/1x kb | 1x Node cluster with extended config, extended security (ssl) and license features |
stack-020 | 3x es/1x kb | 3x Node cluster with extended config, basic security and license features |
stack-025 | 5x es/1x kb | 5x Node cluster with extended config, basic security and license features |
LOGSTASH: stack-100 - stack-200
Name | Components | Description |
---|---|---|
stack-105 | 1x es/1x kb/1x ls | 1x Node cluster with single Logstash instance |
stack-110 | 1x es/1x kb/2x ls | 1x Node cluster with LS => LS => ES composition |
stack-115 | 1x es/1x kb/2x ls | 1x Node cluster with LS => ES => LS composition |
stack-115 | 1x es/1x kb/2x ls | 1x Node cluster with LS => ES => LS composition and Alerting feature |
BEATS: stack-200 - stack-300
Name | Components | Description |
---|---|---|
stack-205 | 1x es/1x kb/1x ls/1x mb | 1x Node cluster with a single metricbeat instance |
stack-210 | 1x es/1x kb/1x ls/1x fb | 1x Node cluster with a single filebeat instance |
APM/Tracing: stack-300 - stack-400
Name | Components | Description |
---|---|---|
stack-305 | 1x es/1x kb/1x apm/1x nodejs | 1x Node cluster with a single apm instance, opbeans nodejs and opbeans rum |
MACHINE LEARNING: stack-400 - stack-500
Name | Components | Description |
---|---|---|
stack-405 | 1x es/1x kb/1x ml | 1x Node cluster with ml activated, extended security (ssl) and license features |
THIRD PARTY: stack-500 - stack-600
Name | Components | Description |
---|---|---|
stack-505 | 1x es/1x kb/1x kl | 1x Node cluster with Alerting feature and Korrelator service |
SETUP
-
Clone the elastic-stax repo
$ cd ~ $ mkdir workspace $ cd workspace $ git clone https://github.com/schneidermatix/elastic-stax.git
-
Setup your environment
$ cd elastic-stax $ source ./.xrc $ x_setup
NOTE: x_setup modifies Linux Kernel parameters and reboots your host system after 30 seconds
due to the modifications of the kernel parameters. -
Choose one of the elastic-stax projects (i.e. stack-010) and take a look at the specific README
for each project for further information.$ cd ~/elastic-stax/stack-010 $ docker-compose up -d
NOTE: For some recipes it is not sufficent to run the 'docker-compose' command. As mentioned
above take a look at the README of each recipe. -
Use Kibana for further actions
http://localhost:5601 user: elastic password: changeme
Stop and Start the elastic stack
-
Stop the docker containers
$ docker-compose stop
-
Start the docker containers
$ docker-compose start
Remove the entire stack
-
Remove the docker containers
$ docker-compose down -v
NOTE: when you run 'docker-compose down -v' you'll loose all your data too.
CONTRIBUTING
If you find some bugs or have any requests/suggestions don't hesitate to open an issue or make a pull request.