This Vagrant project builds a complete Graylog2 0.12.0 installation that can be used for demonstration purposes or as a starting point for your own installation.
VirtualBox 4.x Vagrant 1.2.2
Clone this repository
git clone https://github.com/mariussturm/vagrant_graylog2.git cd vagrant_graylog2 vagrant up
That's it! When the VM is started point your browser to
Now, you can create your first user in the webinterface.
To get log messages into the Graylog2 server just redirect your syslog to TCP localhost:1514 or have a look at https://github.com/papertrail/remote_syslog to send log messages from your host machine to the Graylog2 server.
bundle install bundle exec remote_syslog -D -d localhost -p 1514 --tcp /var/log/syslog
If you want to rerun the provisioning just download the necessary cookbooks
bundle exec berks install --path cookbooks/
edit the Vagrantfile to enable the config.vm.provision section and run chef-solo