Docker, docker-compose
Please open the necessary ports to allow communication between the different components of containers (Jenkins: 8080, 50000 & Kibana: 5601 & Logstash: 5044 & ElastiSearch: 9200, 9300)
Clone repo https://github.com/PavanKumarMadduri/Jenkins-ELK_Stack.git
Make sure the cloned folder has enough permission to access the files required to install containers
Use the command "docker-compose up -d" to create 4 containers (Jenkins, Logstash, ElasticSearch, Kibana)
Login to Jenkins container using the command "docker exec -it jenkins bash"
Start the filebeat service using "service filebeat status"
Open Jenkins GUI using URL http://:8080
Create a Pipeline Project and enter your Github repo details for which you want to run CI/CD
Goto Github repo >Settings>Webhooks>Add Webhook. Please use below image for reference
Use logstash.conf in logstash folder to create filters and change the output
Access Kibana GUI using URL "http://:5601" and Goto logs sections to check if you are receiving build logs. (Snapshot attached below)
You should see the Index getting created as per the configuration given in logstash.conf output section. In Kibana, navigate through Management > Elasticsearch > Index Management to see the same.