{"id":23409265,"url":"https://github.com/pilebones/elk-stack-docker","last_synced_at":"2026-03-05T19:59:45.486Z","repository":{"id":88313686,"uuid":"46290481","full_name":"pilebones/elk-stack-docker","owner":"pilebones","description":"ELK Stack with Docker (Compose)","archived":false,"fork":false,"pushed_at":"2017-10-21T14:35:39.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T20:35:57.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/pilebones.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":"2015-11-16T17:25:50.000Z","updated_at":"2020-09-14T15:40:05.000Z","dependencies_parsed_at":"2023-03-12T08:45:20.624Z","dependency_job_id":null,"html_url":"https://github.com/pilebones/elk-stack-docker","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/pilebones%2Felk-stack-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Felk-stack-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Felk-stack-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilebones%2Felk-stack-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilebones","download_url":"https://codeload.github.com/pilebones/elk-stack-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247958706,"owners_count":21024827,"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":[],"created_at":"2024-12-22T15:34:18.553Z","updated_at":"2026-03-05T19:59:40.404Z","avatar_url":"https://github.com/pilebones.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ELK-Stack with Docker (Compose)\n\n## ElasticSearch, Logstash and Kibana aka ELK : \n\n- Elasticsearch for deep search and data analytics\n- Logstash for centralized logging, log enrichment and parsing\n- Kibana for powerful and beautiful data visualizations\n\n## Requirements\n\n- Docker\n- Docker Compose\n- RSyslog\n\n```bash\n# Debian/Ubuntu like :\n(sudo) apt-get install rsyslog docker docker-compose\n# Archlinux like :\n(sudo) pacman -S rsyslog docker docker-compose\n```\n\n## Introduction\n\nOfficial docker containers used for this project (from the Docker Hub) :\n- [Elasticsearch v2.0](https://hub.docker.com/_/elasticsearch/ \"Elasticsearch v2.0 sur DockerHub\")\n- [Logstash v2.0](https://hub.docker.com/_/logstash/ \"Logstash v2.0 sur DockerHub\")\n- [Kibana v4.2](https://hub.docker.com/_/kibana/ \"Kibana v4.2 sur DockerHub\")\n\nThe version of container used is the latest stable release, if you prefer to switch to the latest version (maybe unstable)  please update \"docker-compose.yml\" like this example :\nFrom : \n```yml\nelasticsearch:\n  image: elasticsearch:2.0\n[...]\n```\n\nTo : \n```yml\nelasticsearch:\n  image: elasticsearch:latest\n[...]\n```\n\n## Getting started\n\n### Server part (Docker containers)\n```bash\ngit clone git@github.com:pilebones/elk-stack-docker.git\ncd elk-stack-docker/\ndocker-compose elasticsearch\n# Waiting for Elasticsearch while is not fully started\ndocker-compose kibana\ndocker-compose logstash\n```\n[Optionnal] You can update Logstash custom config file :\n```bash\nvim data/logstash/conf/logstash.conf\n```\n\n### Client part\n\nEdit rsyslog settings :\n```bash\nvim /etc/rsyslog.conf\n```\n\nAdd this line bellow to send all log entries to Logstash inside docker :\n```bash\n*.* @@0.0.0.0:25826\n```\nAnd restart rsyslog :\n```bash\nsystemctl restart rsyslog\n```\n\n__Note :__ Any log client can push a log stream to logstash by this same way.\n\n## Testing\n\n### To generate log entry for testing\n```bash\nlogger -s -p 1 \"This is fake entry-log !\"\n```\n\n### Check Logstash entries indexed by Elastisearch\n```bash\ncurl -XGET \"0.0.0.0:9200/logstash-*/_search\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Felk-stack-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilebones%2Felk-stack-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilebones%2Felk-stack-docker/lists"}