{"id":24030603,"url":"https://github.com/ankitrajput0096/springboot_elk_cluster_stack_with_filebeat","last_synced_at":"2026-04-09T16:02:17.166Z","repository":{"id":127705916,"uuid":"275444355","full_name":"ankitrajput0096/SpringBoot_ELK_Cluster_Stack_With_Filebeat","owner":"ankitrajput0096","description":"This repository contains ELK stack with elasticsearch cluster configuration along with logstash, filebeat and kibana. This project is used to store and maintain logs generated by spring boot application.","archived":false,"fork":false,"pushed_at":"2020-08-23T14:36:03.000Z","size":16712,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T17:48:34.616Z","etag":null,"topics":["docker","docker-compose","elasticsearch","filebeat","kibana","logstash","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankitrajput0096.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-27T20:00:02.000Z","updated_at":"2020-08-23T14:36:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"d21d6901-e394-4fb5-b88c-ad437c96d6a6","html_url":"https://github.com/ankitrajput0096/SpringBoot_ELK_Cluster_Stack_With_Filebeat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitrajput0096%2FSpringBoot_ELK_Cluster_Stack_With_Filebeat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitrajput0096%2FSpringBoot_ELK_Cluster_Stack_With_Filebeat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitrajput0096%2FSpringBoot_ELK_Cluster_Stack_With_Filebeat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankitrajput0096%2FSpringBoot_ELK_Cluster_Stack_With_Filebeat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankitrajput0096","download_url":"https://codeload.github.com/ankitrajput0096/SpringBoot_ELK_Cluster_Stack_With_Filebeat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240788749,"owners_count":19857696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","elasticsearch","filebeat","kibana","logstash","spring-boot"],"created_at":"2025-01-08T17:45:22.662Z","updated_at":"2026-04-09T16:02:17.003Z","avatar_url":"https://github.com/ankitrajput0096.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpringBoot_ELK_Cluster_Stack_With_Filebeat\n\nThis repository contains ELK (Elasticsearch, Logstash, Kibana) stack with two elasticsearch servers, one kibana server, one logstash server, two filebeat servers and\ntwo spring boot servers which produce logs.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development purposes. See running for notes on how to run the project on a system.\n\n### Prerequisites\n\n1. Clone the project to your local environment:\n    ```\n    git clone https://github.com/ankitrajput0096/SpringBoot_ELK_Cluster_Stack_With_Filebeat\n    ```\n\n2. You need Docker to be installed:\n\n    #### Windows:\n    https://download.docker.com/win/stable/Docker%20for%20Windows%20Installer.exe\n    \n    #### Mac:\n    https://download.docker.com/mac/stable/Docker.dmg\n    \n    #### Ubuntu:\n    https://docs.docker.com/install/linux/docker-ce/ubuntu/\n\n## Installing and Running\n\nTo build the docker containers\n```\ndocker-compose build\n```\nTo start the docker containers\n```\ndocker-compose up\n```\n\n## NOTE :\nIf there is an error that elasticsearch conntainer not run, may be because of \"max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]\"\n\nTo fix it, run: \n\n`sudo sysctl -w vm.max_map_count=262144`\n\n\n## All the exposed API's by spring-boot log-producer servers are as follows:\n\n1. Curl command for spring-boot log-producer one server :- \n * curl --location --request GET 'localhost:8080/loggerOne/logOne'\n * curl --location --request GET 'localhost:8080/loggerOne/logOneException'\n2. Curl command for spring-boot log-producer two server :- \n * curl --location --request GET 'localhost:8081/loggerTwo/logTwo'\n * curl --location --request GET 'localhost:8081/loggerTwo/logTwoException'\n3. Try hitting these api's on terminal and Enjoy producing logs in the application !!\n\n#### NOTE : To see elasticsearch cluster in action, observe terminal logs appropriately.\n\n## Sample Screenshots\n\n1. Creating index pattern for logger services\n![](images/LoggerSerivceIndexPattern.png)\n![](images/LoggerServiceIndexPattern2.png)\n2. Discover Dashboard for Logger Services\n![](images/DiscoverDashboard.png)\n\n## Curl Api's to manage elastic-search cluster\nTo go through all the curl api's for managing elastic-search cluster are present in folder `Elastic_Search_APIs_Management`\n\n## Built With\n\n* [Spring Boot](https://spring.io/projects/spring-boot) - Spring Boot 2\n* [Maven](https://maven.apache.org/) - Dependency Management\n* [Docker](https://www.docker.com/) - For containerization of application\n* [ElasticSearch](https://www.elastic.co/) - For ElasticSearch servers\n* [Kibana](https://www.elastic.co/kibana) - For ElasticSearch UI dashboard\n* [Logstash](https://www.elastic.co/logstash) - For Logstash server to pipelining logs to elasticsearch servers\n* [Filebeat](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-overview.html) - For Filebeat server to pipelining logs to logstash server\n\n## Contributing\n\nIf you have any improvement suggestions please create a pull request and I'll review it.\n\n\n## Authors\n\n* **Ankit Rajput** - *Initial work* - [Github](https://github.com/ankitrajput0096)\n\n## License\n\nThis project is licensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitrajput0096%2Fspringboot_elk_cluster_stack_with_filebeat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitrajput0096%2Fspringboot_elk_cluster_stack_with_filebeat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitrajput0096%2Fspringboot_elk_cluster_stack_with_filebeat/lists"}