{"id":20485323,"url":"https://github.com/runnable/elk","last_synced_at":"2025-08-30T12:14:30.281Z","repository":{"id":33990314,"uuid":"37742738","full_name":"Runnable/elk","owner":"Runnable","description":"Elasticsearch, Logstash, \u0026 Kibana (ELK) Stack","archived":false,"fork":false,"pushed_at":"2015-06-29T23:08:47.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-05T16:27:33.981Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Runnable.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}},"created_at":"2015-06-19T19:51:14.000Z","updated_at":"2016-03-17T15:24:56.000Z","dependencies_parsed_at":"2022-07-12T21:33:29.898Z","dependency_job_id":null,"html_url":"https://github.com/Runnable/elk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Runnable/elk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Felk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Felk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Felk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Felk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Runnable","download_url":"https://codeload.github.com/Runnable/elk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Felk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272847052,"owners_count":25003118,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-15T16:29:31.821Z","updated_at":"2025-08-30T12:14:30.242Z","avatar_url":"https://github.com/Runnable.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elasticsearch, Logstash, Kibana (ELK)\n\nConfigured to use redis as a message broker for logstash, based on\n[sebp/elk](https://registry.hub.docker.com/u/sebp/elk/).\n\n## Running\n\nWhen running the image ensure you expose the appropriate ports (5601, 9200) and\nset the `REDIS_HOST` environment variable. Here's an example run command:\n\n```\nsudo docker run -it --name elk \\\n\t\t -p 5601:5601 -p 9200:9200 \\\n\t\t -e REDIS_HOST=some-redis-host \\\n\t\t codenow-elk\n```\n\n## Ports\nWhen run as a container the image exposes the following ports:\n\n* 5601 - Kibana web interface\n* 9200 - Elastic search interface\n\n## Important Files\n\n* `Dockerfile` - Dockerfile to build the ELK image\n* `10-input.conf` - Default logstash input configuration\n* `20-filter.conf` - Default logstash filters configuration\n* `30-output.conf` - Default logstash output configuration\n* `elasticsearch.yml` - Elastic search configuration\n* `start.sh` - Runs all services and tails the elasticsearch logs.\n\n## Environment Variables\n\nEnvironment variables are not supported by default for logstash configurations\nhowever we have added limited support for them by modifying the `start.sh`.\nIf you want to introduce a new variable to a configuration perform the following\nsteps:\n\n1. Add the placeholder for the variable in the file. It will look like this:\n`{{MY_VARIABLE}}`\n2. Modify the `start.sh` script to add an in-place sed to replace the placeholder\nwith the environment variable:\n`sed -i \"s/{{MY_VARIABLE}}/$MY_VARIABLE/g\" /etc/logstash/conf.d/01-logstash.conf`.\n\nCurrently we support the following environment variables in the logstash\nconfiguration script:\n\n* `REDIS_HOST` - Hostname for the redis message broker.\n* `REDIS_PORT` - Port for the redis message broker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Felk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnable%2Felk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Felk/lists"}