Git Product home page Git Product logo

efk-stack's Introduction

EFK stack

A sample environment running an EFK stack on your local machine.

Includes:

Introduction

As software systems grow and become more and more decoupled, log aggregation is a key aspect to take care of.

The issues to tackle down with logging are:

  • Having a centralized overview of all log events
  • Normalizing different log types
  • Automated processing of log messages
  • Supporting several and very different event sources

While Elasticsearch and Kibana are the reference products de facto for log searching and visualization in the open source community, there's no such agreement for log collectors.

The two most-popular data collectors are:

Logging systems using Fluentd as collector are usually referenced as EFK stack.

Aim of this repository is to run an EFK stack on your local machine using docker-compose.

I'm not personally involved with companies supporting Logstash nor Fluentd.

If you need help to choose between Logstash and Fluent, take a look to the reference.

Launching the EFK stack

Requirements

On your machine, make sure you have installed:

Run

docker-compose up

Please note: in this example Fluentd will run on port 8080 instead of the default 24224.

This settings has been changed to show how to configure Fluentd to listen on a different port.

Kibana is exposed on port 5601.

Testing with sample data

If you are running macOS and you want to send sample data to test the EFK stack, you'll need RESTed.

Files are available in the examples folder.

Please note that RESTed is not strictly necessary as any other REST client application will work fine.

If you have curl client installed on your system, you can generate sample data by running:

curl -X POST -d 'json={"action":"login","userId":"5b07fbbb4e6b8"}' http://localhost:8080/myapp.log

Reference

efk-stack's People

Contributors

amiedeep avatar giefferre avatar maroy1986 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.