mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 05:48:33 +01:00
fix: misc fixes for docker deployments opensearch/logstash
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user