On behalf of my employer Phospore SI, I deployed an Elastic Stack within a Rancher environment using FileBeat and Logspout as log shippers. Here is the documentation I pulled out from my work.
All the different configurations files for the softwares we deployed plus a wiki with instructions. I highly recommend to have a look at the attached wiki before starting deploying and of course the official documentation.
We deployed the Elastic Stack on a single node to start with and do our test. In production, we will deploy a 3 nodes Elastic cluster. ELK aka Elasticsearch-Logstash-Kibana is evolving fast, we deployed a 6.0.1 Elastic Stack but les than 2 months later, ELK is already hitting the 6.2 version. However the set up displayed in this repository will be good to go hopefully for a while since the major evolution was from 5.0 to 6.0.
We deployed our Elastic Stack in a Rancher environment but this documentation can be used in any environment involving Docker containers. We work with Ubuntu servers so all the commands you will find here are deb.
There are also configuration files to ship Odoo logs since Phospore SI is an Odoo partner. We are still working on it so I won't document it that much. I'll leave them here for whoever it could help.
To achieve an Elastic Stack deployment, you will need knowledge in the following:
- Docker
- Docker Compose
- Java
- JSON
- Rancher
- RegEx
- Read the wiki first
- Pay attention to the prerequisites
- Check the official documentation
- Make a lot of coffee (you can actually do that first)
- Deploy!
Please feel free to ask questions, make comments or suggestions to improve this repository