Discover version of installed kibana pkg instead of hardcoded value
Change-Id: Id5bc7bb92a5e29787d64aa3ef087ebfdc7cf42ce
diff --git a/metadata/service/client.yml b/metadata/service/client.yml
index e965def..5fef9d9 100644
--- a/metadata/service/client.yml
+++ b/metadata/service/client.yml
@@ -2,16 +2,12 @@
- kibana
parameters:
_param:
- kibana_version: 4.6.4
+ kibana_client_default_index: "log-*"
kibana:
client:
enabled: true
+ default_index: ${_param:kibana_client_default_index}
object:
- config:
- id: ${_param:kibana_version}
- enabled: true
- template: kibana/files/objects/config.json
- type: 'config'
logs:
enabled: true
template: kibana/files/objects/dashboard_logs.json