Coder Social home page Coder Social logo

elk's Introduction

elk

Elasticsearch, Logstash, Kibana Stack

Prereqs

Installation

Launch Docker, open a terminal and clone this project

$ git clone https://github.com/zazazack/elk.git

Create the file ./env. This file will contain This file will contain environment variables required for nginx and kibana to be configured for your specific host machine (default is http://localhost)

$ nano `./.env`
# ./.env

Note the . in .env. This is important as this file should both be added to your ignore* files, e.g., gitignore, and be hidden from plain sight on the host**. (files beggining w/ . are "hidden" by default on *nix systems).

Create an external, attachable network on the host (default is localhost)

$ docker network create --driver=overlay --attachable backend

Deploy the stack

$ docker stack deploy -c stack.yml elk

Create cron jobs

$ crontab -e
# m h  dom mon dow   command
  0 *  *   *   *     docker run --rm --network backend zwilson/jobs scrapy crawl rigzone --loglevel="INFO"

Visit http://localhost

elk's People

Contributors

zazazack 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.