Files
2022-12-27 21:59:06 +01:00

26 lines
447 B
Plaintext

input {
beats {
port => 5044
}
}
filter {
json {
source => "message"
}
}
output {
#stdout {}
#file {
# path => "/tmp/output.json"
#}
opensearch {
hosts => ["${OPENSEARCH_HOST}"]
index => "${OPENSEARCH_INDEX}-%{+YYYY-MM-dd}"
user => "${LOGSTASH_USER}"
password => "${LOGSTASH_PASSWORD}"
ssl => true
ssl_certificate_verification => false
}
}