Giter VIP home page Giter VIP logo

vagrant-elk-box's Introduction

This vagrant box installs elasticsearch 1.6, logstash 1.5 and kibana 4.

Prequisites

VirtualBox and Vagrant (minimum version 1.6) Other providers, like VMWare may work, not tested!

Up and SSH

To get started run:

vagrant up
vagrant ssh

Elasticsearch will be available on the host machine at http://localhost:9200/

Kibana at http://localhost:5601/

Marvel elasticsearch plugin at http://localhost:9200/_plugin/marvel/

HQ elasticsearch plugin at http://localhost:9200/_plugin/HQ/

Vagrant commands

vagrant up # starts the machine
vagrant ssh # ssh to the machine
vagrant halt # shut down the machine
vagrant provision # applies the bash and puppet provisioning

Logstash is started on boot and indexes into elasticsearch using the config file at /vagrant/confs/logstash/logstash.conf, reading from example log file at /vagrant/example-logs/testlog Controlled by

 sudo service logstash 

Kibana is controlled by init script at

sudo service kibana 

Configuration details

Elasticsearch and Logstash are installed using puppet modules. deb file for Kibana is downloaded and extracted, thanks to @UnrealQuester we even have init script for Kibana. Installation can be configured in the file /manifests/default.pp .For details on the elasticsearch puppet configuration, see https://forge.puppetlabs.com/elasticsearch/elasticsearch Logstash puppet at https://forge.puppetlabs.com/elasticsearch/logstash

Elasticsearch is installed using cluster name 'vagrant_elasticsearch', instance name es-01, using 1 shard, 0 replicas. Elasticsearch is controlled by init script

sudo service elasticsearch-es-01

Read (a bit) more: http://blog.comperiosearch.com/blog/2014/08/14/elk-one-vagrant-box/

vagrant-elk-box's People

Contributors

babadofar avatar jchannon avatar murhaf avatar pdxfixit avatar splashx avatar unrealquester avatar

Watchers

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