Git Product home page Git Product logo

elk-demo's Introduction

ansible2

Next iteration of all of this same thing. More automatic and has support for letsencrypt!

ansible

Has the ansible playbook that sets up the ELK stack on a single VM - this VM could then be used to demo the ELK stack by giving the attendants a web interface where they can click around themselves.

Requirements:

  • A VM with CentOS6/CentOS7 with Internet connectivity
    • Works with RFC1918 IP on interface, as long as it has a public IP (like from public pool in openstack)
  • 3.5GB RAM and 1 core is enough for small demo

Run ansible:

  • ansible-galaxy install -r requirements.yml
  • ansible-playbook -i ansible-inventory setup.yml

Configure the firewall as necessary.

  • Allow remote TCP ports: 80 and 443 - both are HTTP - not https
  • /etc/ntp.conf is not managed default but the service is set to start on boot

Demo!

More details in the wiki: https://github.com/CSC-IT-Center-for-Science/ELK-demo/wiki/Install-the-ELK-demo-VM-with-ansible

logstash

Here the logstash configs and patterns for the DEMO are stored.

  • To ingest some data:
    • /opt/logstash/bin/logstash agent -f /home/cloud-user/06-logstash-bf.conf

fluentd

Fluentd is also installed by default.

prod_example

variable:

logstash_prod_example: "yes"

If this is set to yes then we'll install templates and logstash configs as found in ../logstash/configs/prod_example and ../logstash/templates/es-template-demo.json

https for kibana4

configurable by setting

kibana4_https: "on"

Requires x509 certificates installed into /etc/pki/tls/certs/hostcert.pem and /etc/pki/tls/private/hostkey.pem - this is not handled by this playbook

ldaps for kibana4

configurable by setting

kibana4_ldap: True

Requires a secrets.yml in ansible/secrets.yml

Example of that file is found in ansible/roles/ansible-role-elk-httpd/defaults/main.yml

elk-demo's People

Contributors

martbhell avatar

Watchers

James Cloos 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.