add prod logstash

main
ycz008 2023-09-25 15:49:36 +08:00
parent 9c9a39ea26
commit fb5725a796
1 changed files with 2 additions and 2 deletions

View File

@ -23,13 +23,13 @@ data:
output {
stdout { codec => rubydebug }
elasticsearch {
hosts => ["http://10.2.0.12:9200"]
hosts => ["http://10.2.0.12:30019"]
index => "prod-logback-beaconfire-%{+YYYY.MM.dd}"
}
}
logstash.yml: |-
http.host: "0.0.0.0"
xpack.monitoring.elasticsearch.hosts: [ "http://10.2.0.12:9200" ]
xpack.monitoring.elasticsearch.hosts: [ "http://10.2.0.12:30019" ]
---
apiVersion: apps/v1