GithubHelp home page GithubHelp logo

voodoologic / docker-fluentd-kibana Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hbussell/docker-fluentd-kibana

0.0 1.0 0.0 156 KB

Docker image for log analytics using Fluentd, Elasticsearch and Kibana

JavaScript 93.74% Shell 6.26%

docker-fluentd-kibana's Introduction

Docker-Fluentd-Kibana

Log analitycs using Fluentd, Elasticsearch and Kibana

This container comes built with Fluentd for log processing, Elasticsearch for log storeage and Kibana for log analytics. Nginx is also installed and configured for Kibana. Supervisord is used for Nginx, Fluentd, and Elasticsearch.

After installing you can visit http://localhost to view the Kibana web interface. Fluentd will be running and accepting messages on port 24224. You can then start posting messages to Fluentd and they will be saved in Elasticsearch.

Exposed ports

  • 80 Nginx http
  • 9200 Elasticsearch http
  • 9300 Elasticsearch transport
  • 24224 Fluentd

Nginx is confirgured to proxy elastic search port 9200 to 80 which avoids some proxies blocking high ports. Kibana comes shipped with a config to use port 80 for elastic search so its ready to go.

Default command

Supervisord - Start Nginx, Elasticsearch, and Fluentd in the foreground with supervisord.

Volumes

  • /data - Elasticsearch
  • /var/log - Nginx, Fluentd, Elasticsearch

Running the image

First step is to pull the image:

docker pull hbussell/docker-fluentd-kibana

Run the image:

Note you may want to change the volume -v parameter to set a different data directory used by Elasticsearch.

sudo docker run -p 9200:9200 -p 9300:9300 -p 24224:24224 -p 80:80 -v /data:/data  --name docker_fluentd_kibana_inst -i -t hbussell/docker-fluentd-kibana:docker-fluentd-kibana

Running with systemd:

  • copy to systemd.fluentd-kibana.service to /etc/systemd/system
  • sudo systemctl enable /etc/systemd/system/systemd.fluentd-kibana.service
  • sudo systemctl start systemd.fluentd-kibana.service

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.