Skip to content

This repository provides a Docker Compose configuration for deploying an ELK stack (Elasticsearch, Logstash, Kibana) with Filebeat and a log collection application, enabling efficient log management and visualization.

Notifications You must be signed in to change notification settings

ghulammuzz/simple-elk-stack-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose ELK Stack

This repository contains a Docker Compose configuration for deploying an ELK stack (Elasticsearch, Logstash, Kibana) along with Filebeat and a log collection application. This setup facilitates efficient log management, analysis, and visualization.

Docker Compose Configuration

Elasticsearch

  • Image: docker.elastic.co/elasticsearch/elasticsearch:7.15.0
  • Port: 9200
  • Environment: Configured for single-node mode.

Kibana

  • Image: docker.elastic.co/kibana/kibana:7.15.0
  • Port: 5601
  • Environment: Configured to connect to Elasticsearch and disable HTTP authentication.

Filebeat

  • Image: Custom (defined in .env)
  • Command: filebeat -e -strict.perms=false
  • Volume: Collects logs from the mounted volume.

App

  • Image: ur-img:ur-tag
  • Port: 5000
  • Volume: Provides logs to be collected by Filebeat.

Setup and Usage

  1. Prepare the .env File: Customize the .env file with your specific configuration settings.

  2. Run Docker Compose: Execute the following command to start all services:

    docker-compose up

Dependencies

  • Docker
  • Docker Compose

About

This repository provides a Docker Compose configuration for deploying an ELK stack (Elasticsearch, Logstash, Kibana) with Filebeat and a log collection application, enabling efficient log management and visualization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published