mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 06:28:34 +01:00
fix: misc fixes for docker deployments opensearch/logstash
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
runner:
|
||||
image: gitea/act_runner:nightly
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
logstash:
|
||||
restart: always
|
||||
image: opensearchproject/logstash-oss-with-opensearch-output-plugin:8.9.0
|
||||
container_name: logstash
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user