Skip to content

Example of ELK stack for Log Collection and Analysis

Notifications You must be signed in to change notification settings

birkanatici/ELK-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project includes four files:

  1. docker-compose.yaml: file that sets up four services: elasticsearch, kibana, logstash, and log-generator.
  2. logstash.conf: for logstash that tells logstash how to handle the incoming data.
  3. log-generator.sh: a shell script that generates random log messages in JSON format and sends them to the logstash service.
  4. Dockerfile: a file used to build the log-generator service.

Running the services

Make sure that you have Docker and Docker-compose installed on your machine.

Navigate to the directory where the files are located in your terminal. Run the following command:

docker-compose up

Stopping the services

docker-compose down

About

Example of ELK stack for Log Collection and Analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published