Giter Site home page Giter Site logo

devopstoday11 / docker-elk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opstree/docker-elk

0.0 2.0 0.0 641 KB

A Opstree repo for doing different POC on ELK

Home Page: https://blog.opstree.com

License: Apache License 2.0

Dockerfile 70.93% Shell 21.17% HTML 7.90%

docker-elk's Introduction

Elasticsearch (ELK) stack on Docker

The main goal for creating this stack was to provide the environment of ELK(Elasticsearch, Logstash and Kibana) for different types of POCs. ๐Ÿ™‚

In the end result you will get a beautiful kibana dashboard like this:-

We are using the official image from Elastic:-

This compose setup will setup these things for you:-

  • Elasticsearch
  • Kibana
  • Logstash
  • Apache

Requirements

Overview

โ”œโ”€โ”€ apache         ---> Dockerfile and confiuration file for apache
โ”œโ”€โ”€ elasticsearch  ---> Dockerfile and configuration file for elasticsearch
โ”œโ”€โ”€ img            ---> For storing image and screenshots
โ”œโ”€โ”€ kibana         ---> Dockerfile and configuration file for kibana
โ””โ”€โ”€ logstash       ---> Dockerfile and configuration file for logstash
    โ””โ”€โ”€ conf.d     ---> Logstash configuration for beats, filter and outputs

This setup will expose these ports:-

  • 9200: Elasticsearch HTTP endpoint
  • 9300: Elasticsearch TCP endpoint
  • 5601: Kibana UI
  • 5044: Logstash beats input

Usage

Set required environment variables

export ELK_VERSION=7.3.1

Building Images

docker-compose build

Bringing Up

docker-compose up -d

Clean Up

docker-compose down -v

After this steps, now you can go and login into kibana and visualize your logs:-

  • Kibana Url:- http://<your_ip>:5601
  • Username:- elastic
  • Password:- elastic

To Do

  • Add some dashboards for Apache
  • Create a canvas for logs

Kibana Dashboards

You can import the kibana dashboard as well which is here

Here are some awesome screenshots you will get after importing the dashboard.

docker-elk's People

Contributors

iamabhishek-dubey avatar

Watchers

James Cloos avatar  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.