diff --git a/chef/cookbooks/common/recipes/splunk.rb b/chef/cookbooks/common/recipes/splunk.rb index a962aaf78..27067993b 100644 --- a/chef/cookbooks/common/recipes/splunk.rb +++ b/chef/cookbooks/common/recipes/splunk.rb @@ -26,3 +26,6 @@ execute "Add forwarding server" do command "cd /opt/splunk/bin && ./splunk add forward-server splunk.joindiaspora.com:9997 -auth admin:changeme" end +execute "Add monitor for diaspora" do + command "cd /opt/splunk/bin && ./splunk add monitor /usr/local/app/diaspora/log" +end