Git Product home page Git Product logo

graylog_fluentd_docker's Introduction

Graylog_fluentd

The project runs Graylog + Fluentd (Logs servers).

About the project


Uses the following micro service applications:

  • App Graylog
  • Fluentd-collector
  • Mongo database
  • Elasticsearch stack
  • Prometeus Exporters
  • App Backup database

Pre-deployment preparation


Swarm cluster

Create Docker swarm cluster here

Single node docker

Before deploying the project, install Docker, Docker Compose latest versions.

Installation


Swarm cluster

For installation: To install, run:

  1. Do a git clone.

  2. Create an .env file and fill with variables:

cp ./.env.swarm.temp ./.env
  1. Build and push fluentd collector image
cp ./fluentd-collector/fluent.conf.graylog.temp ././fluentd-collector/fluent.conf

docker build ./fluentd-collector/ -t <<You remote Docker Registry>>/fluentd-collector:latest --no-cache

docker pull <<You remote Docker Registry>>/fluentd-collector:latest
  1. Build and push mongo-setup collector image
cp ./docker/mongo-setup/scripts/rs-init.sh.temp ./docker/mongo-setup/scripts/rs-init.sh

docker build ./docker/mongo-setup/ -t <<You remote Docker Registry>>/mongo-setup:latest --no-cache

docker pull <<You remote Docker Registry>>/mongo-setup:latest
  1. Run the project
env $(cat .env | grep ^[A-Z] | xargs) docker stack deploy --with-registry-auth --compose-file docker-swarm.yaml graylog

Important!!!

We recommend using Gitlab CI using secure docker remote socket.

Single node docker server

For installation: To install, run:

  1. Do a git clone.

  2. Create an .env file and fill with variables:

cp ./.env.compose.temp ./.env
  1. Run the project
docker-compose -f docker-compose.yaml build
docker-compose -f docker-compose.yaml up -d

Useful links


The most powerful and extensible open source Wiki software

Docker-db-backup

Secure docker remote socket

Manage swarm security with public key infrastructure (PKI)

fluent-plugin-gelf

graylog_fluentd_docker's People

Contributors

shatovilya avatar snyk-bot avatar

Watchers

 avatar

graylog_fluentd_docker's Issues

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.