opensearch docker compose files added
This commit is contained in:
7
docker-compose/opensearch/logstash/config/logstash.yml
Normal file
7
docker-compose/opensearch/logstash/config/logstash.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
http.host: "0.0.0.0"
|
||||
|
||||
## X-Pack security credentials
|
||||
#
|
||||
# xpack.monitoring.enabled: true
|
||||
# xpack.monitoring.elasticsearch.username: elastic
|
||||
# xpack.monitoring.elasticsearch.password: changeme
|
||||
21
docker-compose/opensearch/logstash/pipeline/logstash.conf
Normal file
21
docker-compose/opensearch/logstash/pipeline/logstash.conf
Normal file
@@ -0,0 +1,21 @@
|
||||
# LogstashTcpSocketAppender
|
||||
input {
|
||||
tcp {
|
||||
port => 5001
|
||||
codec => json
|
||||
}
|
||||
}
|
||||
|
||||
output {
|
||||
|
||||
stdout {}
|
||||
|
||||
opensearch {
|
||||
hosts => ["https://opensearch:9200"]
|
||||
index => "logstash-logs-%{+YYYY.MM.dd}"
|
||||
user => "admin"
|
||||
password => "admin"
|
||||
ssl => true
|
||||
ssl_certificate_verification => false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user