{"id":19472876,"url":"https://github.com/sangahco/docker-log-shippers","last_synced_at":"2026-05-05T14:05:36.792Z","repository":{"id":96449995,"uuid":"84332997","full_name":"sangahco/docker-log-shippers","owner":"sangahco","description":"Log Shippers for ELK Stack","archived":false,"fork":false,"pushed_at":"2023-10-10T02:34:46.000Z","size":284,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-09T07:31:19.741Z","etag":null,"topics":["docker","docker-compose","filebeat","logshipper","logspout","logstash","yml"],"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/sangahco.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":"2017-03-08T15:03:50.000Z","updated_at":"2022-01-13T06:07:49.000Z","dependencies_parsed_at":"2025-02-25T15:32:03.868Z","dependency_job_id":"e9eb808f-94b7-4a09-ae57-57aa4aceb72b","html_url":"https://github.com/sangahco/docker-log-shippers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sangahco/docker-log-shippers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangahco%2Fdocker-log-shippers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangahco%2Fdocker-log-shippers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangahco%2Fdocker-log-shippers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangahco%2Fdocker-log-shippers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sangahco","download_url":"https://codeload.github.com/sangahco/docker-log-shippers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sangahco%2Fdocker-log-shippers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32652540,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","filebeat","logshipper","logspout","logstash","yml"],"created_at":"2024-11-10T19:16:05.902Z","updated_at":"2026-05-05T14:05:36.752Z","avatar_url":"https://github.com/sangahco.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![HitCount](http://hits.dwyl.io/sangahco/sangahco/docker-log-shippers.svg)](http://hits.dwyl.io/sangahco/sangahco/docker-log-shippers)\n[![Jenkins](https://img.shields.io/jenkins/s/https/dev.builder.sangah.com/job/logspout.svg?label=logspout\u0026style=flat-square)]()\n[![Jenkins](https://img.shields.io/jenkins/s/https/dev.builder.sangah.com/job/filebeat-5.4.svg?label=filebeat\u0026style=flat-square)]()\n\n# Log Shippers Filebeat and Logspout for Logstash\n\nThese are a series of log shippers to use for *harvesting* log from the server and bring it to Logstash,\nwhich in turn it will give it to Elasticsearch.\n\n- **Logspout** - Read the log from Docker containers and send it to Logstash\n- **Filebeat** - Read the log from log files and send it to Logstash\n\n---\n\n## Download Me!\n\nTake this source from git repository with the following commands:\n\n    $ git clone https://github.com/sangahco/docker-log-shippers.git\n    $ cd docker-log-shippers\n    $ git submodule init\n    $ git submodule update\n\n---\n\n## Configurations available\n\n- **docker-compose-prod.yml**\n\n  Production configuration for log shippers.\n  You should use this on the server where the web application is running, \n  in order to send logs to the ELK stack. `LOGSTASH_HOST` required.\n\n- **docker-compose-dev.yml**\n\n  The development configuration build the images before running them, \n  you still need to set `LOGSTASH_HOST` to point to the *Logstash* server.\n\n- **docker-compose-dev2.yml**\n\n  In case the [ELK stack](https://github.com/sangahco/docker-elk-stack) is running on the same server, \n  where you want to test these log shippers, is possible to use this configuration,\n  with no need to set the `LOGSTASH_HOST` variable.\n\n---\n\n## Prerequisites\n\nFirst make sure *Docker* and *Docker Compose* are installed on the machine with:\n\n    $ docker -v\n    $ docker-compose -v\n\nIf they are missing, follow the instructions on the official website (they are not hard really...):\n\n- [Docker CE Install How-to](https://docs.docker.com/engine/installation/)\n- [Docker Compose Install How-to](https://docs.docker.com/compose/install/)\n\n---\n\n## How to Use\n\nBefore starting the services make sure the variable `LOGSTASH_HOST` \nis set correctly to the right *Logstash* host machine.\n\n**Use the script `docker-auto.sh` to manage these services!**\n\n    $ ./docker-auto.sh --help\n\n---\n\n## Settings Up the Environment\n\nThe following settings are available:\n\n| Variable     | Description                                                                                                                                         | Default  |\n|--------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| REGISTRY_URL | This is the docker registry host where to publish the images                                                                                        |          |\n| LOG_PATH     | Filebeat will harvest logs inside this folder                                                                                                       |          |\n| LOG2_PATH    | Filebeat will harvest logs inside this folder                                                                                                       |          |\n| LOG3_PATH    | Filebeat will harvest logs inside this folder                                                                                                       |          |\n| LOG4_PATH    | Filebeat will harvest logs inside this folder                                                                                                       |          |\n| LOG5_PATH    | Filebeat will harvest logs inside this folder                                                                                                       |          |\n| FB_DATA_HOME | Filebeat data directory, where the log files states are stored,  it should be changed in production to a local directory                            | fbdata   |\n| FB_TAGS      | Tags to send together with the log to logstash,  wrap the group with single quotation mark and separate them with comma ( ex. 'tag1, tag2, tag3' ). | filebeat |\n| LOGSTASH_URL | Logstash host machine                                                                                                                               |          |\n\n(\\*) *table generated with [tablesgenerator](http://www.tablesgenerator.com/markdown_tables)*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangahco%2Fdocker-log-shippers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsangahco%2Fdocker-log-shippers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsangahco%2Fdocker-log-shippers/lists"}