rename logstash
parent
855e6238a8
commit
4d504c3cc2
|
@ -25,7 +25,9 @@ data:
|
|||
index => "dev-logback-beaconfire-%{+YYYY.MM.dd}"
|
||||
}
|
||||
}
|
||||
|
||||
logstash.yml: |-
|
||||
http.host: "0.0.0.0"
|
||||
xpack.monitoring.elasticsearch.hosts: [ "http://elastic:9200" ]
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
|
@ -61,6 +63,10 @@ spec:
|
|||
mountPath: /usr/share/logstash/pipeline/logstash.conf
|
||||
subPath: logstash.conf
|
||||
readOnly: true
|
||||
- name: config
|
||||
mountPath: /usr/share/logstash/config/logstash.yml
|
||||
subPath: logstash.yml
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config
|
||||
configMap:
|
||||
|
@ -68,6 +74,8 @@ spec:
|
|||
items:
|
||||
- key: logstash.conf
|
||||
path: logstash.conf
|
||||
- key: logstash.yml
|
||||
path: logstash.yml
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
Loading…
Reference in New Issue