Upgrade Logstash Monasca output plugin

This change also installs the Monasca output plugin from RubyGems
instead of local gem file.

Change-Id: I828fddf75990e4b6841a33fcb16a8ccc664df3f6
Story: 2004514
Task: 28242
This commit is contained in:
Witold Bedyk 2018-12-03 16:38:19 +01:00
parent 8523586d41
commit db7388bd48
3 changed files with 3 additions and 4 deletions

View File

@ -638,10 +638,8 @@ function install_log_agent {
if is_service_enabled monasca-log-agent; then
echo_summary "Installing monasca-log-agent [monasca-output-plugin]"
local monasca_log_agent_version=0.5.2
local ls_plugin_filename=logstash-output-monasca_log_api-${monasca_log_agent_version}.gem
$LOGSTASH_DIR/bin/plugin install "${PLUGIN_FILES}"/monasca-log-agent/${ls_plugin_filename}
$LOGSTASH_DIR/bin/plugin install --version \
"${LOGSTASH_OUTPUT_MONASCA_VERSION}" logstash-output-monasca_log_api
fi
}

View File

@ -30,6 +30,7 @@ enable_service monasca-log-agent
KIBANA_VERSION=${KIBANA_VERSION:-4.6.3-linux-x86_64}
LOGSTASH_VERSION=${LOGSTASH_VERSION:-2.4.1}
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-2.4.2}
LOGSTASH_OUTPUT_MONASCA_VERSION=${LOGSTASH_OUTPUT_MONASCA_VERSION:-1.0.4}
NODE_JS_VERSION=${NODE_JS_VERSION:-"4.0.0"}
NVM_VERSION=${NVM_VERSION:-"0.33.5"}