Git Product home page Git Product logo

elk-stack's Introduction

ELK-DOCKER-STACK

Generic badge Generic badge Generic badge

How to run

$ docker-compose build
$ docker-compose up

Based on the official Docker images from Elastic:

By default, the stack exposes the following ports:

  • 5000: Logstash TCP input
  • 900: Elasticsearch HTTP
  • 9300: Elasticsearch TCP transport
  • 5601: Kibana

Configuration

NOTE: Configuration is not dynamically reloaded.

Kibana onfiguration

  • kibana/config/kibana.yml
  • config (map entire directory instead of a single file)

Logstash configuration

  • logstash/config/logstash.yml.
  • config (map entire directory instead of a single file, however you must need a log4j2.properties file for it's own logging)

Elasticsearch configuration

  • elasticsearch/config/elasticsearch.yml.

Specify the options to override directly via environment variables:

elasticsearch:

  environment:
    network.host: "_non_loopback_"
    cluster.name: "my-cluster"

Storage

Persist Elasticsearch data

elasticsearch:

  volumes:
    - /path/to/storage:/usr/share/elasticsearch/data

NOTE: Beware of the unprivileged elasticsearch user is used within the Elasticsearch image, therefore the mounted data directory must be owned by the uid 1000.

Using a newer stack version

  • .env

NOTE: Pay attention to the upgrade instructions for each individual component before performing a stack upgrade.

elk-stack's People

Contributors

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