Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Logstash - 7.17.11
Logstash OpenSearch Output - 1.2.0
OpenSearch - Helm Chart Version 2.9.0
Describe the issue:
Currently we have Elasticsearch set up, but we are moving to OpenSearch. I’ve set up OpenSearch output following the guide, but OpenSearch is only receiving logs once per hour, while Elasticsearch receives them almost constantly.
The Logstash logs don’t seem out of the ordinary, so I am not sure if this is an issue with the OpenSearch Output setup, or some OpenSearch config I missed.
Configuration:
Logstash Output:
output {
if "event-timed-out" in [tags] {
elasticsearch {
id => "fallback-elasticsearch-output"
hosts => ["localhost:9200"]
index => "fallback-bisappslogs-%{+YYYY.MM.dd}"
}
opensearch {
index => "fallback-bisappslogs-%{+YYYY.MM.dd}"
hosts => ["host"]
user => "${}"
password => "${}"
ssl_certificate_verification => true
}
} else {
elasticsearch {
id => "elasticsearch-output"
hosts => ["localhost:9200"]
index => "bisappslogs-%{+YYYY.MM.dd}"
}
opensearch {
index => "bisappslogs-%{+YYYY.MM.dd}"
hosts => ["host"]
user => "${}"
password => "${}"
ssl_certificate_verification => true
}
}
}
Relevant Logs or Screenshots: