{"id":15874155,"url":"https://github.com/garutilorenzo/elk-stack","last_synced_at":"2025-08-13T00:32:31.249Z","repository":{"id":154321584,"uuid":"366379956","full_name":"garutilorenzo/elk-stack","owner":"garutilorenzo","description":"ELK Stack: Elasticsearch, Kibana, Beats, Logstash and Apm server","archived":false,"fork":false,"pushed_at":"2021-09-21T15:52:34.000Z","size":37,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-27T08:51:46.362Z","etag":null,"topics":["apm-server","containers","docker","docker-compose","elasticsearch","elk-stack","filebeat","heartbeat","kibana","logstash","metricbeat"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garutilorenzo.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":"2021-05-11T12:49:05.000Z","updated_at":"2024-10-24T13:55:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"572ff84f-924e-4743-ba34-1dadc8f6c1de","html_url":"https://github.com/garutilorenzo/elk-stack","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/garutilorenzo%2Felk-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Felk-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Felk-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Felk-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garutilorenzo","download_url":"https://codeload.github.com/garutilorenzo/elk-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229717748,"owners_count":18113400,"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":["apm-server","containers","docker","docker-compose","elasticsearch","elk-stack","filebeat","heartbeat","kibana","logstash","metricbeat"],"created_at":"2024-10-06T01:21:09.323Z","updated_at":"2024-12-14T15:13:21.223Z","avatar_url":"https://github.com/garutilorenzo.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker-ELK\n\n\nRun the latest version of the ELK (Elasticsearch, Logstash, Kibana) stack with Docker and Docker Compose.\n\nThe elk stack will give you the ability to analyze any data set by using the searching/aggregation capabilities of Elasticsearch\nand the visualization power of Kibana.\n\nBased on the official Docker images:\n\n* [elasticsearch](https://www.elastic.co/elasticsearch/)\n* [logstash](https://www.elastic.co/logstash/)\n* [kibana](https://www.elastic.co/kibana)\n\nAPM Monitoring:\n\n* [apm](https://www.elastic.co/apm)\n\nBeats:\n\n* [filebeat](https://www.elastic.co/beats/filebeat)\n* [heartbeat](https://www.elastic.co/beats/heartbeat)\n* [metricbeat](https://www.elastic.co/beats/metricbeat)\n\n# Setup the stack\n\nThe configuration for each container are placed on the root of this folder, then {{ container }}/config/{{ configuration }}.yml\nThe beats are shipped with basic configuration, for advanced configurations and for enable other modules see the reference configurations files on Elastic official documentation.\n\n# Notes\n\nBy default:\n\n* filebeat monitor the container logs in /var/lib/docker/containers. Also filebeat is configured with add_docker_metadata processor and need access to /var/run/docker.sock\n* heartbeat monitor elastic and kibana container\n* metricbeat monitor the container that are running on the machine (the conainer needs access to /var/run/docker.sock and the metricbeat user should be in the docker group. See metricbeat/Dockerfile and adjust the GID of the Docker group. Or run the container as root user.) \n\n# Licence\n\nBy default the stack starts paid features disabled `xpack.license.self_generated.type: basic` in elssticsearch.yml.\nYou can enable the trial by changing the value of `xpack.license.self_generated.type` to trial, and use the full fatures for 30 days. \n\nFor more information about the Licence see:\n\n[xpack]: https://www.elastic.co/what-is/open-x-pack\n[paid-features]: https://www.elastic.co/subscriptions\n[trial-license]: https://www.elastic.co/guide/en/elasticsearch/reference/current/license-settings.html\n\n# Fire up the stack\n\n1. Clone this repository\n\n2. set the right version of ELK stack on the .env file\n\n3. build the stack with `docker-compose build`\n\n4. Start the ELK stack using `docker-compose`:\n\n```console\n$ docker-compose up -d\n```\n\nGive Kibana a few seconds to initialize, then access the Kibana web UI by hitting\n[http://localhost:5601](http://localhost:5601) with a web browser.\n\nBy default, the stack exposes the following ports:\n* 5000: Logstash TCP input.\n* 9200: Elasticsearch HTTP\n* 9300: Elasticsearch TCP transport\n* 5601: Kibana\n* 8200: apm\n\n# Clean up\n\n```console\n$ docker-compose down -v\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Felk-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarutilorenzo%2Felk-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Felk-stack/lists"}