mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-10 08:28:34 +01:00
34 lines
821 B
Plaintext
34 lines
821 B
Plaintext
input {
|
|
beats {
|
|
port => 5044
|
|
}
|
|
}
|
|
|
|
output {
|
|
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"
|
|
}
|
|
}
|
|
}
|