Coder Social home page Coder Social logo

docker-elk's Introduction

ItsKarma/docker-elk

Usage

This stack is designed and instructions are provided for AWS EC2 and requires some EBS volumes to be mounted to persist data. These instructions can be translated for use on another system, but will not be supported at this time.

Attach EBS volumes via aws console or cli

attach EBS volume to: /dev/sde - 40G
attach EBS volume to: /dev/sdl - 1G
attach EBS volume to: /dev/sdk - 1G

Create 1 partition consuming the entire disk for each volume mounted

fdisk /dev/sde
mkfs -t ext4 /dev/xvde1
fdisk /dev/sdl
mkfs -t ext4 /dev/xvdl1
fdisk /dev/sdk
mkfs -t ext4 /dev/xvdk1

Create the directories to mount

mkdir /data{elasticsearch,logstash,kibana}
mount /dev/xvde1 /data/elasticsearch
mount /dev/xvdl1 /data/logstash
mount /dev/xvdk1 /data/kibana

Create the data directory for elasticsearch

mkdir /data/elasticsearch/data

Install docker-compose via pip

pip install --upgrade pip
pip install -U docker-compose

Clone the repo and run

git clone https://github.com/ItsKarma/docker-elk.git ~/elk
cd ~/elk
docker-compose up

docker-elk's People

Contributors

itskarma avatar

Watchers

 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.