I solved my problem. I realized I missed a very small detail. I was typing “elasticsearch” in the Output section. Actually, I should have corrected that section to “opensearch”.
output {
opensearch {
# elasticsearch { # old
hosts => ["https://admin:admin@10.19.23.46:9200"]
index => "filebeat-%{+YYYY.MM.dd}"
ssl_enabled => "true"
ssl_verification_mode => "none"
}
}