fix: misc fixes for docker deployments opensearch/logstash

This commit is contained in:
2024-11-24 13:55:39 +00:00
parent 4a7f87605c
commit b7097bc159
7 changed files with 37 additions and 9 deletions

View File

@@ -5,11 +5,29 @@ input {
}
output {
opensearch {
hosts => ["https://atlantishq.de:9200"]
index => "filebeat-dev-%{+YYYY.MM.dd}"
ssl_certificate_verification => false
user => "logstash"
password => "{{ opensearch_logstash_password }}"
if [fields][container_logs] {
opensearch {
hosts => ["https://atlantishq.de:9200"]
index => "filebeat-containers-dev-%{+YYYY.MM.dd}"
ssl_certificate_verification => false
user => "logstash"
password => "HISTORY_PURGED_SECRET"
}
}else if [fields][syslog] {
opensearch {
hosts => ["https://atlantishq.de:9200"]
index => "filebeat-syslog-dev-%{+YYYY.MM.dd}"
ssl_certificate_verification => false
user => "logstash"
password => "HISTORY_PURGED_SECRET"
}
}else{
opensearch {
hosts => ["https://atlantishq.de:9200"]
index => "filebeat-dev-%{+YYYY.MM.dd}"
ssl_certificate_verification => false
user => "logstash"
password => "HISTORY_PURGED_SECRET"
}
}
}