Drop support for lumberjack input to logstash
authorTom Hughes <tom@compton.nu>
Thu, 5 Jul 2018 18:48:02 +0000 (19:48 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 5 Jul 2018 18:48:02 +0000 (19:48 +0100)
cookbooks/logstash/recipes/default.rb
cookbooks/logstash/templates/default/logstash.conf.erb

index df54a72..620194d 100644 (file)
@@ -26,22 +26,6 @@ package %w[
   logstash
 ]
 
-cookbook_file "/var/lib/logstash/lumberjack.crt" do
-  source "lumberjack.crt"
-  user "root"
-  group "logstash"
-  mode 0o644
-  notifies :restart, "service[logstash]"
-end
-
-file "/var/lib/logstash/lumberjack.key" do
-  content keys["lumberjack"].join("\n")
-  user "root"
-  group "logstash"
-  mode 0o640
-  notifies :restart, "service[logstash]"
-end
-
 cookbook_file "/var/lib/logstash/beats.crt" do
   source "beats.crt"
   user "root"
index 8726052..cbd61e9 100644 (file)
@@ -1,10 +1,4 @@
 input {
-  lumberjack {
-    port => 5043
-    ssl_certificate => "/var/lib/logstash/lumberjack.crt"
-    ssl_key => "/var/lib/logstash/lumberjack.key"
-  }
-
   beats {
     port => 5044
     ssl_certificate => "/var/lib/logstash/beats.crt"