-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove lumberjack as default for logstash
- The lumberjack protocol will no longer be the default for Logstash to communicate, due to hosted chef changes and golang runtime SSL changes (fixes #56, #14) - Don't test the lumberjack protocol with the server install by default, removes lumberjack test suite in .kitchen.yml - Default to tcp/udp for communication between logstash instances, add flag: `node['elkstack']['config']['agent_protocol'] = 'tcp_udp' # could also be lumberjack` - Don't try to load lumberjack secrets by default for agent, don't fail if they aren't present (rename recipes/_secrets.rb -> recipes/_lumberjack_secrets.rb) - elkstack::acl recipe changes to support tcp/udp communication - add logstash configs for tcp/udp communication - remove tests for lumberjack.key/crt now from default test suites - remove extra data bags with lumberjack keypairs
- Loading branch information
Showing
18 changed files
with
87 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
input { | ||
tcp { | ||
port => "<%= @input_tcp_port %>" | ||
host => "<%= @input_tcp_host %>" | ||
} | ||
} | ||
|
||
filter { | ||
mutate { | ||
replace => [ "input_chef_environment", "<%= @chef_environment %>" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
input { | ||
udp { | ||
port => "<%= @input_udp_port %>" | ||
host => "<%= @input_udp_host %>" | ||
} | ||
} | ||
|
||
filter { | ||
mutate { | ||
replace => [ "input_chef_environment", "<%= @chef_environment %>" ] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
filter { | ||
mutate { | ||
replace => [ "output_chef_environment", "<%= @chef_environment %>" ] | ||
} | ||
} | ||
|
||
output { | ||
tcp { | ||
port => "<%= @output_tcp_port %>" | ||
host => "<%= @output_tcp_host %>" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
filter { | ||
mutate { | ||
replace => [ "output_chef_environment", "<%= @chef_environment %>" ] | ||
} | ||
} | ||
|
||
output { | ||
udp { | ||
port => "<%= @output_udp_port %>" | ||
host => "<%= @output_udp_host %>" | ||
} | ||
} |
11 changes: 0 additions & 11 deletions
11
test/integration/agent/data_bags/lumberjack-auto/secrets.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.