What is the bug?
When the "https" protocol is provided in the host url and ssl is enabled. Then, it is throwing the below error
[ERROR][logstash.javapipeline ][main] Pipeline error {:pipeline_id=>"main", :exception=>#<Manticore::ResolutionFailure: https: nodename nor servname provided, or not known>
What is the bug? When the "https" protocol is provided in the host url and ssl is enabled. Then, it is throwing the below error
It is the parsing the host "https://localhost:9200" as Hosts: [{:host=>"https", :scheme=>"https", :port=>"//localhost"}] https://github.com/opensearch-project/logstash-input-opensearch/blob/main/lib/logstash/inputs/opensearch.rb#L355-L359
The same configuration works fine if we provide the host name without protocol like "localhost:9200"
How can one reproduce the bug?
What is the expected behavior? It should fetch the documents from the index based on the given query.