X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/639b0336707d6c44b11b84c8b03861d580190c83..ca0e23852a9523282075fe78076b2deeca69ee53:/roles/web-frontend.rb diff --git a/roles/web-frontend.rb b/roles/web-frontend.rb index 4d82bd4f6..5010e555d 100644 --- a/roles/web-frontend.rb +++ b/roles/web-frontend.rb @@ -15,9 +15,9 @@ default_attributes( }, :logstash => { :forwarder => { - :files => [ - { :paths => ["/var/log/apache2/access.log"], :fields => { :type => "apache" } }, - { :paths => ["/var/log/web/rails-logstash.log"], :fields => { :type => "rails" } } + "filebeat.prospectors" => [ + { "input_type" => "log", "paths" => ["/var/log/apache2/access.log"], "fields" => { "type" => "apache" } }, + { "input_type" => "log", "paths" => ["/var/log/web/rails-logstash.log"], "fields" => { "type" => "rails" } } ] } }, @@ -26,7 +26,6 @@ default_attributes( }, :exim => { :local_domains => ["messages.openstreetmap.org"], - :trusted_users => ["rails"], :routes => { :messages => { :comment => "messages.openstreetmap.org",