Coder Social home page Coder Social logo

viktortat / docker-graylog-ansible Goto Github PK

View Code? Open in Web Editor NEW

This project forked from digitaltransformation/docker-graylog-ansible

0.0 0.0 0.0 8 KB

Code samples for guide on deploying Graylog2 container + Ansible Playbooks to manage IT Log Events

License: MIT License

Shell 84.23% JavaScript 15.77%

docker-graylog-ansible's Introduction

Overview Image

Gain Control over Log Events with Graylog and Ansible

Author: Sar Malik

Getting Started

Learn how to deploy a centralized log analytics and event monitoring server with Graylog in Docker and remotely update clients with Ansible Playbook routines.

Read the accompanying guide to this code repository to get started.

Tech Stack

graylog/graylog
Docker Stars Image Size Image Version
_/mongo
Github Stars Image Size Image Version
_/elasticsearch
Docker Stars Image Size Image Version
Ansible
Github Stars

Usage

Clone this repository onto the docker host where containers will be built using relative volume paths.

  1. Update the configuration files provided in server and run the following command to spin up a container stack.

    $ docker-compose -f docker-compose.yaml up
  2. Navigate to the Graylog server and open an input worker with tcp/514 || udp/514 ports.

  3. Configure unix clients with rsyslog systemd service to push all log messages to the Graylog server with the provided playbook.

    $ ansible-playbook -i target.env \
        -k --ask-become-pass \
        configure_rsyslog.yaml
  4. Explore streaming log messages, create dashboards, and run custom queries using the Graylog webserver on http://<<graylog_host>>:<<port>>.

Structure

.
├── .gitignore
├── README.md
├── LICENSE.md
├── client
│   ├── ansible.setup.sh
│   ├── configure_rsyslog.yaml
│   ├── rsyslog.conf
│   └── target.env
└── server
    ├── config.sh
    ├── docker-compose.yaml
    ├── graylog.conf
    ├── mongo.env
    ├── mongo-init.js
    ├── rotatekey.sh
    └── shasum.sh

License

This repository is released under MIT License.


Quant ONE

docker-graylog-ansible's People

Contributors

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