{"id":15152452,"url":"https://github.com/mnstrlara/elasticompose","last_synced_at":"2026-02-03T19:03:06.450Z","repository":{"id":246935667,"uuid":"823691275","full_name":"mnstrlara/elasticompose","owner":"mnstrlara","description":"Streamlined Docker Compose deployment of the ELK stack.","archived":false,"fork":false,"pushed_at":"2024-07-09T10:06:19.000Z","size":28096,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-25T04:41:05.622Z","etag":null,"topics":["docker","docker-compose","elasticsearch","elk-stack","kibana","logstash"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mnstrlara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-07-03T14:18:12.000Z","updated_at":"2024-07-23T08:36:47.000Z","dependencies_parsed_at":"2024-09-20T18:48:57.687Z","dependency_job_id":null,"html_url":"https://github.com/mnstrlara/elasticompose","commit_stats":null,"previous_names":["manestarlara/elasticompose","mnstrlara/elasticompose"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mnstrlara/elasticompose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnstrlara%2Felasticompose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnstrlara%2Felasticompose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnstrlara%2Felasticompose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnstrlara%2Felasticompose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mnstrlara","download_url":"https://codeload.github.com/mnstrlara/elasticompose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mnstrlara%2Felasticompose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29054052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","elk-stack","kibana","logstash"],"created_at":"2024-09-26T16:01:43.018Z","updated_at":"2026-02-03T19:03:06.430Z","avatar_url":"https://github.com/mnstrlara.png","language":"Dockerfile","readme":"# elasticompose\n\n## Objective:\nEfficiently deploy and manage the ELK (Elasticsearch, Logstash, Kibana) stack using Docker Compose, enabling streamlined logging and monitoring solutions for various applications and environments.\n\n## Components:\n### 1. Elasticsearch\nServes as the search and analytics engine, storing and indexing log data for quick and efficient retrieval.\n### 2. Logstash\nCollects, processes, and transforms log data before sending it to Elasticsearch.\n### 3. Kibana\nVisualizes data stored in Elasticsearch through customizable dashboards and graphs.\n### 4. Filebeat\nLightweight shipper for forwarding and centralizing log data to Logstash and Elasticsearch.\n### 5. Docker\nContainerizes the entire ELK stack, making it easy to deploy, manage, and scale.\n\n## Pre-requisites:\n- Ensure Docker is installed on your system.\n- Docker Compose is required to manage multi-container Docker applications. Install Docker Compose to orchestrate the ELK stack services.\n- At least 4GB of RAM is recommended to run the ELK stack smoothly.\n- Ensure you have the necessary permissions to install software and manage Docker containers on your system.\n\n## .env Configuration\nSince there are some secret credentials that need to stay hidden they have been added inside the `.env` file. This is an example of the contents inside the file:\n```shell\nELASTIC_VERSION=[string]\nELASTIC_PASSWORD=[string]\nKIBANA_SYSTEM_PASSWORD=[string]\nLOGSTASH_INTERNAL_PASSWORD=[string]\nFILEBEAT_INTERNAL_PASSWORD=[string]\n```\n\n## Steps:\n### 1. Set Up the Environment\nInstall Docker and Docker Compose on your system and ensure your system meets the memory, CPU, and storage requirements.\n\n### 2. Prepare Configuration Files:\nCreate or obtain configuration files for Elasticsearch, Logstash, Kibana, and Filebeat and ensure these files are tailored to your specific needs, such as log paths and indices.\n\n### 3. Create a Docker Compose File:\nDefine a docker-compose.yml file to orchestrate the ELK stack services. Include configurations for Elasticsearch, Logstash, Kibana, and Filebeat in the file.\n\n### 4. Start the ELK Stack:\nNavigate to the directory containing your docker-compose.yml file and run the `docker-compose up -d` command to start the ELK Stack services in detached mode.\n\n### 5. Verify Service Availability:\nCheck the status of the ELK stack services using the `docker-compose ps` command. Use `curl` or a web browser to verify that Elasticsearch and Kibana are accessible.\n\n### 6. Set Up User Authentication:\nAccess the Elasticsearch container using the `docker exec -it elasticsearch /bin/bash` command.\n\n### 7. Configure Kibana:\nLog in to Kibana using the `elastic` user credentials and set up index patterns and visualizations to monitor and analyze your data.\n\n### 8. Test the Setup:\nSend sample log data to ensure the entire pipeline (Filebeat -\u003e Logstash -\u003e Elasticsearch -\u003e Kibana) is working correctly and verify that logs are being indexed in Elasticsearch and visualized in Kibana.\n\n### Documentation\n#### [Install Docker Engine](https://docs.docker.com/engine/install/) - This section describes how to install Docker Engine on Linux, also known as Docker CE.\n#### [Overview of installing Docker Compose](https://docs.docker.com/compose/install/) - This page contains summary information about the available options for installing Docker Compose.\n#### [Dockerfiles](https://github.com/elastic/dockerfiles) - Dockerfiles for the official Elastic Stack images.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnstrlara%2Felasticompose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmnstrlara%2Felasticompose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmnstrlara%2Felasticompose/lists"}