add logstash alert field [stack_trace]

main
ycz008 2024-02-29 14:33:59 +08:00
parent 258f879a76
commit d77b45d4ac
1 changed files with 9 additions and 0 deletions

View File

@ -79,6 +79,9 @@ data:
}
}
}
logstash.yml: |-
http.host: "0.0.0.0"
xpack.monitoring.elasticsearch.hosts: [ "http://elastic:9200" ]
---
apiVersion: apps/v1
@ -117,6 +120,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:
@ -124,6 +131,8 @@ spec:
items:
- key: logstash.conf
path: logstash.conf
- key: logstash.yml
path: logstash.yml
---
apiVersion: v1