stx-monitor Application Flexible Config and Upgrade
Add enhancements to the stx-monitor infrastructure and monitoring application to expand flexible configuration and upgrade capabilities. Story: 2005733 Task: 36387 Change-Id: I11cef36f416a1a1b1fd813c0c06f6c7a20a19a2a Signed-off-by: Kevin Smith <kevin.smith@windriver.com>
This commit is contained in:
parent
3afce274e4
commit
7cf9c9afaf
@ -107,6 +107,13 @@ data:
|
|||||||
path: /stx-elasticsearch-client(/|$)(.*)
|
path: /stx-elasticsearch-client(/|$)(.*)
|
||||||
hosts:
|
hosts:
|
||||||
- ""
|
- ""
|
||||||
|
master:
|
||||||
|
updateStrategy:
|
||||||
|
type: "RollingUpdate"
|
||||||
|
data:
|
||||||
|
terminationGracePeriodSeconds: 240
|
||||||
|
updateStrategy:
|
||||||
|
type: "RollingUpdate"
|
||||||
source:
|
source:
|
||||||
type: tar
|
type: tar
|
||||||
location: http://172.17.0.1:8080/helm_charts/starlingx/elasticsearch-1.24.0.tgz
|
location: http://172.17.0.1:8080/helm_charts/starlingx/elasticsearch-1.24.0.tgz
|
||||||
@ -407,6 +414,8 @@ data:
|
|||||||
elastic-controller: "enabled"
|
elastic-controller: "enabled"
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
host: stx-elasticsearch-client
|
host: stx-elasticsearch-client
|
||||||
|
config:
|
||||||
|
elasticsearch.path: ""
|
||||||
outputs:
|
outputs:
|
||||||
main: |-
|
main: |-
|
||||||
output {
|
output {
|
||||||
@ -414,14 +423,14 @@ data:
|
|||||||
#stdout { codec => rubydebug }
|
#stdout { codec => rubydebug }
|
||||||
if [type] == "collectd" {
|
if [type] == "collectd" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
|
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}${ELASTICSEARCH_PATH}"]
|
||||||
manage_template => false
|
manage_template => false
|
||||||
index => "collectd"
|
index => "collectd"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if [type] == "beats" {
|
if [type] == "beats" {
|
||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
|
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}${ELASTICSEARCH_PATH}"]
|
||||||
manage_template => false
|
manage_template => false
|
||||||
index => "%{[@metadata][beat]}-%{[@metadata][version]}"
|
index => "%{[@metadata][beat]}-%{[@metadata][version]}"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user