{"repo":"GeminiWind/docker-elk-nginx-filebeat","free":true,"listed":false,"github":"https://github.com/GeminiWind/docker-elk-nginx-filebeat","clone":"git clone https://github.com/GeminiWind/docker-elk-nginx-filebeat.git","description":"Logging system for Nginx with ELK, Filebeat, Nginx on Docker","language":"Dockerfile","stars":44,"topics":["filebeat","kibana","nginx","elk","logstash","elasticsearch","docker"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Docker ELK + Nginx + Filebeat Dockerized ELK stack with an Nginx reverse proxy in front of a small Express app. Nginx access/error logs are collected by Filebeat, parsed in Logstash, indexed into Elasticsearch, and visualized in Kibana. Architecture Log flow: Nginx (/var/log/nginx/ .log) - Filebeat - Logstash (beats input :5044) - Elasticsearch (index: weblogs-YYYY.MM.dd) - Kibana Main services: - app : Express app exposing GET / on port 3000 - nginx : reverse proxy to app:3000 , writes logs to mounted ./nginx/log - filebeat : tails /var/log/nginx/ .log , sends events to Logstash - logstash : parses Nginx combined logs via grok , enriches with geoip and useragent - elasticsearch : single-node cluster with security enabled - kibana : UI for searching and visualizing indexed logs Versions - ELK images (Elasticsearch, Logstash, Kibana): from .env ELK VERSION=7.3.1 - Filebeat image: pinned to 7.3.2 in filebeat/Dockerfile Repository Layout Exposed Ports - 80 : Nginx - 443 : Nginx (mapped, no TLS config included by default) - 3000 : Express app - 5601 : Kibana - 9200 : Elasticsearch HTTP API - 9300 : Elasticsearch transport - 5000 : Logstash TCP input (exposed) - 9600 : Logstash monitoring API Quick Start 1. Start the stack: 2. Generate some Nginx traffic: 3. Open Kibana: http://localhost:5601 4. Log in with: - Username: elastic - Password: changeme 5. In Kibana, create a data view for: weblogs- Use @timestamp as the time field. Useful Commands Start in detached mode: Check logs: S","default_branch":null,"files":null,"tree":[],"storefront":"/r/GeminiWind","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GeminiWind/docker-elk-nginx-filebeat/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}