Skip to content

Instantly share code, notes, and snippets.

@patcon
Created July 6, 2012 22:25
Show Gist options
  • Save patcon/3063103 to your computer and use it in GitHub Desktop.
Save patcon/3063103 to your computer and use it in GitHub Desktop.
Tentative instructions for testing out graylog2 wth Drupal (will go with blog post)

Requirements

Please install these before attempting to run the instructions.

  • Virtualbox
  • Virtualbox extension pack
  • OSX GCC installer (or Xcode)

Instructions

Set up RVM

curl -L get.rvm.io | bash -s 1.14.1
exec $SHELL
rvm reload

Spin up graylog2 VM at http://localhost:8080

git clone git://github.com/mariussturm/vagrant_graylog2.git /path/to/repos/vagrant_graylog2
cd /path/to/repos/vagrant_graylog2
librarian-chef install
vagrant up

Spin up Drupal VM at http://example.dev

git clone --branch release/1.0.0 https://github.com/myplanetdigital/ariadne.git /path/to/repos/ariadne-gelf
cd /path/to/repos/ariadne-gelf
rake setup
vagrant up

Configure Ariadne VM to use GELF module

vagrant ssh
cd /vagrant/data/html/example
drush dl composer
# Running drush with the memory_limit temporarily disabled
php --define memory_limit=-1 /usr/share/php/drush/drush.php dl gelf
drush en gelf
drush vset gelf_host 33.33.33.1
drush vset gelf_port 12201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment