Update the configuration to make it work with the latest libbeat (#5944)

changes.

In beta1, some options changes occurred in filebeat with the name of the
ssl options.

Like theses:

tls=>ssl
certificate_key => key

Fixes #5917
This commit is contained in:
Pier-Hugues Pellerin 2016-09-19 14:02:33 -04:00 committed by Suyog Rao
parent 54f8cc1bb0
commit f6b623fe92
2 changed files with 9 additions and 1 deletions

View file

@ -6,7 +6,7 @@ if [ -n "${FILEBEAT_VERSION}" ]; then
echo "Filebeat version is $FILEBEAT_VERSION"
version=$FILEBEAT_VERSION
else
version=5.0.0-alpha5
version=5.0.0-alpha6
fi
setup_fb() {

View file

@ -97,6 +97,9 @@ describe "Beat Input", :integration => true do
"hosts" => ["localhost:5044"],
"tls" => {
"certificate_authorities" => certificate_authorities
},
"ssl" => {
"certificate_authorities" => certificate_authorities
}
},
"logging" => { "level" => "debug" }
@ -123,6 +126,11 @@ describe "Beat Input", :integration => true do
"certificate_authorities" => certificate_authorities,
"certificate" => certificate,
"certificate_key" => ssl_key
},
"ssl" => {
"certificate_authorities" => certificate_authorities,
"certificate" => certificate,
"key" => ssl_key
}
},
"logging" => { "level" => "debug" }